TanStackT
TanStack9mo ago
1 reply
managerial-maroon

Separate layouts for dashboard and public routes

So im migrating from nextjs and in nextjs i can define layouts separately
(routes) -> For public routes (This group has a layout which extends the root layout)
dashboard -> For dashboardroutes (This route has a layout which extends the root layout)
layout.tsx -> This is the root layout
But with tanstack router file base router how can i do the same??
image.png
Was this page helpful?