Nested Intercepting Routes
Unanswered
Almond stone wasp posted this in #help-forum
Almond stone waspOP
I want to intercept the route
post under jobs dir from the dashboard dir, what should be the path after @modal/*
app
|
jobs
| |
| post (page.tsx)
|
dashboard
| |
| @modal
| |
| (.)post
| |
| page.tsx
*/11 Replies
Almond stone waspOP
no, it's not working
i tried playing with the nextgram by nesting the rouet one more level and it worked modifying the path like this
i tried playing with the nextgram by nesting the rouet one more level and it worked modifying the path like this
@Ray does `(...)jobs/post/page.tsx` work?
I just test this with your folder structure and it works
oh I just noticed that I have
@modal at app/@modalAlmond stone waspOP
so will it work everywhere, like on different routes?
let me try
let me try
Almond stone waspOP
not working
getting this error :
getting this error :
Uncaught TypeError: initialTree is not iterablehave you tried puting the modal's jobs segment inside the parentheses with the dots dots dots
routes not roots
Almond stone waspOP
do you mean this.
(...)jobs?
(...)jobs?
Almond stone waspOP
it worked thanks 🙌