Catch all segment route blocks regular routes #75150
Unanswered
landed1
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I create a catch all segment
[...slug]/page.tsx
seems to block any other routes. So nested routes also get the ...slug route action(therefore error).
Surely the catch all should simply run after all others...catch all unless already exists.
so that /tags/tag/[tag].tsx can co-exist.
In this example [...slug]/page.tsx creates an error that
Page "/[...slug]/page" is missing param "/tags/tag/hp" in "generateStaticParams()"
"next": "15.1.3"
Beta Was this translation helpful? Give feedback.
All reactions