Nested Intercepting Routes
Unanswered
Black and yellow mud dauber posted this in #help-forum
Black and yellow mud dauberOP
I have intercepting routes with structure like this
as the structure above, if I go to cart from /
it should open cart page in intercepting route
and inside the cart page itself, it can redirect to /login or /register, which should open intercepting route also (at least if its opened from standalone page)
my question is, can you have intercepting route inside intercepting route?
if not, I would like to be able to exit from intercepting route first, before I redirect to /login or /register
is it possible to do that?
app/
(auth)
login/
register/
(user)/
@cart/
cart/
@login/
@register/
page.tsxas the structure above, if I go to cart from /
it should open cart page in intercepting route
and inside the cart page itself, it can redirect to /login or /register, which should open intercepting route also (at least if its opened from standalone page)
my question is, can you have intercepting route inside intercepting route?
if not, I would like to be able to exit from intercepting route first, before I redirect to /login or /register
is it possible to do that?