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


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.