shuding / nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.
https://nextra.site
MIT License
11.7k stars 1.27k forks source link

Nextra with AppRouter and next-intl #2602

Open DamirGim98 opened 9 months ago

DamirGim98 commented 9 months ago

Hello guys, I am using next-intl and nextjs 13.5.5 app router, and i am about to make documentation with nextra, currently i ve followed the steps from next-intl documentation to set intl across my app routes. I've got problem with setting up nextra with it, i get 404 errors when trying to open docs page, can you advise how to fix this behaviour ( i followed exact steps from your docs to setup intl docs)

jellli commented 9 months ago

Nextra is not supporting AppRouter right now.

You should check out https://github.com/shuding/nextra/issues/1421#issuecomment-1858999853.

adamborowski commented 4 months ago

It's not about supporting AppRouter, but rather not breaking when another part of the app is using app router. I have my website using app router, and nextra running on pages router, and everything worked perfectly until I started using next-intl. I guess there is some interference on the middleware level...

mike-rambil commented 3 months ago

@adamborowski

how did you get the pages router working with the app router? could you help me out with the issue i have opened here? #2966

adamborowski commented 3 months ago

I simply removed next-intl and pages router based nextra site Stargard to work properly.