you cannot define a route with the same specificity as a optional catch-all route
Unanswered
English Lop posted this in #help-forum
English LopOP
[Error: You cannot define a route with the same specificity as a optional catch-all route ("/docs" and "/docs[[...slug]]").]
Getting this error. Just want to do a /docs/page.tsx and also /docs/[[...slug]]
How can I make them co-exist? With catch-all working on everything but /docs
Getting this error. Just want to do a /docs/page.tsx and also /docs/[[...slug]]
How can I make them co-exist? With catch-all working on everything but /docs
2 Replies
American English Coonhound
1. /docs
2. /docs/[...slug].js
2. /docs/[...slug].js
@American English Coonhound 1. /docs
2. /docs/[...slug].js
English LopOP
thats what's not allowed