What to return for the root page when using generateStaticParams in an optional catch all route
Unanswered
Asian black bear posted this in #help-forum
Asian black bearOP
When using generateStaticParams in an optional catch all route, do I return
{ slug: [] }
for the root page?4 Replies
Asian black bearOP
Not yet, just assuming this is the way to go.
What'd be a good way to see if it actually worked?
Adding export const dynamicParams = false to the page, then / will 404 if it doesn’t work. But it should work.