Skip to content

Dev mode shows static route but when running build it shows dynamic #77560

Answered by coleh33
coleh33 asked this question in App Router
Discussion options

You must be logged in to vote

I ended up fixing this by adding the generateStaticParams to the layout file and these pages are properly built now.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by coleh33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant