next js getStaticPaths
create a post folder and index.js file in pages/posts folder
then add another file in pages\posts\[id].js
folder structure
create a post folder and index.js file in pages/posts folder
then add another file in pages\posts\[id].js
folder structure