dynamicParams false for the root and true for the children
Unanswered
Mrigal carp posted this in #help-forum
Mrigal carpOP
Hi, have this folder structure:
/app/[locale]/board-games/[boardGameId]
I do not want dynamicParams for [locale], so I added
However I want dynamicParams for [boardGameId], but adding
Is there a way to allow dynamicParams for some parameters and not the other?
/app/[locale]/board-games/[boardGameId]
I do not want dynamicParams for [locale], so I added
export const dynamicParams = false
in my root layout.However I want dynamicParams for [boardGameId], but adding
export const dynamicParams = true
in this folder's layout does nothing: it looks like I cannot override the global configuration.Is there a way to allow dynamicParams for some parameters and not the other?