App Router Static Path (DYNAMIC_SERVER_USAGE) #1131
Unanswered
chuwong35122
asked this question in
Q&A
Replies: 1 comment
-
Okay, I got one of the workaround. Instead of wrapping
inside the Root Layout ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I'm using the app router next-intl setup without i18n routing. I need
/[slug]
route that must be static page which when built, this error occurs:From my understanding, this error occurs because of cookies usage which cannot be used in static routes. I would like to know if there's a way to opt-out of next-intl for static files so that this error will not occurs. Thanks.
i18n.ts
PS. Keep up the good work. Love your lib :)
Beta Was this translation helpful? Give feedback.
All reactions