I am using next.js and I want to have dynamic route like [id].tsx. And I want to have default html and I am going to generate rest with dynamic route param in client side. But next.js is throwing error asking to include getStaticPaths -
Error: getStaticPaths is required for dynamic SSG pages and is missing for