Repository navigation
Hoisting index.tsx from route-group? #6240
Replies: 1 comment 1 reply
|
Yes, route groups work for this. In TanStack Router's file-based routing, a folder named So I checked this against the generator test TanStack Router has no (Written with help from Claude, an AI assistant; I checked it against the docs/source.) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Is there a way to hoisting index.tsx (like in nextjs page.tsx below) in tanstack router?

(logged-out)/page.tsx hoisted to root since the page.tsx gone, only layout.tsx.
So, (logged-out)/page.tsx become the landing page
How to produce similar pattern in tanstack router?
All reactions