Next.js Discord

Discord Forum

How to use Intercepting and Parallel routes with root level?

Unanswered
Louisiana Waterthrush posted this in #help-forum
Open in Discord
Louisiana WaterthrushOP
In this example, it uses intercepting and parallel with photos:
(.)photo/[id]/page.tsx

// localhost:3000/photos/1


when I use it like this:
// root level
(.)/[id]/page.tsx

// localhost:3000/1

It doesn't work. Is (.)photos photos name required?

0 Replies