Is there a way to have non-optional segments after [...slug]
Answered
Rex posted this in #help-forum
RexOP
Hi!
I am currently trying to create a category like this
app/skin-care/[...slug]/page/[number]/
but the number 1 page would only be
app/skin-care/[...slug]/
is there a way to achieve this?
I am currently trying to create a category like this
app/skin-care/[...slug]/page/[number]/
but the number 1 page would only be
app/skin-care/[...slug]/
is there a way to achieve this?
Answered by B33fb0n3
no there isn't a way to have non optional segments after [...slug]
You need to build your own path for that or use a route before the slug
You need to build your own path for that or use a route before the slug