getStaticPaths() function required for dynamic routes.
This content is not available in your language yet.
GetStaticPathsRequired:
getStaticPaths()
function is required for dynamic routes. Make sure that youexport
agetStaticPaths
function from your dynamic route.
What went wrong?
Section titled What went wrong?In Static Mode, all routes must be determined at build time. As such, dynamic routes must export
a getStaticPaths
function returning the different paths to generate.
See Also:
Error Reference