Relative Content

Tag Archive for next.jsnext-intl

NextJS static rendering does not work when working with next-int

according to next-intel documentation, we can use setRequestLocale to enable static rendering https://next-intl.dev/docs/getting-started/app-router/with-i18n-routing#static-rendering, but it’s not working, i’m trying to apply static rendering to all pages under [locale] path, but when i run npm run build i see all of them are dynamic (server-rendered on demand):

NextJS static rendering does not work when working with next-int

according to next-intel documentation, we can use setRequestLocale to enable static rendering https://next-intl.dev/docs/getting-started/app-router/with-i18n-routing#static-rendering, but it’s not working, i’m trying to apply static rendering to all pages under [locale] path, but when i run npm run build i see all of them are dynamic (server-rendered on demand):