Route Groups do not work within [locale] #800
Replies: 6 comments
-
I haven't worked with route groups so far, but if you can reproduce the bug in a Next.js-only app then you might want to submit this as a bug report in the Next.js repo. |
Beta Was this translation helpful? Give feedback.
-
Same issue here when multiple root layouts. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, I think the issue is in |
Beta Was this translation helpful? Give feedback.
-
Strongly suggest including a route group example in the docs 🙏 |
Beta Was this translation helpful? Give feedback.
-
As a side note here, the Next.js team is working on I hope to have more to share on this soon, once the API is available on the stable channel of Next.js! |
Beta Was this translation helpful? Give feedback.
-
Is there any update on the route group part? Types seems incorrectly typed/missing groups within the |
Beta Was this translation helpful? Give feedback.
-
Hello I have a strange issue. It seems that Route Groups do not work with next-intl?
My following structure:
Now when I want to access the customers page on
http://localhost:3000/customers
orhttp://localhost:3000/summary
I get a 404 not found error. I have to usehttp://localhost:3000/dashboard/customers
to access the page. But when I try it without the [locale] then it works as expected and I can accesshttp://localhost:3000/customers
without dashboard. When I put it all back into [locale] folder it does not work again?I am not sure what causes this issue? I looked at the documentation in next intl and couldnt find anything related to this.
Beta Was this translation helpful? Give feedback.
All reactions