Example-app-router error when using output: 'export' (SSG) #1262
Unanswered
aboutjquery
asked this question in
Q&A
Replies: 1 comment
-
Are you by chance confusing Static Site Generation and There's no middleware that will run when you're using I'm going to move this to a discussion since this is a usage question and not a bug report. |
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
-
I am using example-app-router from next-intl github.
When I enter the URL without locale, for example, lcoalhost/pathname/, an error will occur.
Error: Page "/[locale]/page" is missing param "/pathnames" in "generateStaticParams()", which is required with "output : export" config.
When the URL is added with a locale like
/en/
, it will display normally. What should I do to make it display normally without adding the locale?If i dont use
ssg
, everything is fine.How do I make this all work? thanks
Beta Was this translation helpful? Give feedback.
All reactions