About route groups/layouts with different wrapper layouts
Hey Router people!
I am currently experimenting with converting a Next.js project that has the following routing (example):
Grouped under (main) and has its own layout.tsx in the Next.js world. Let's say this layout renders a header
-
-
Grouped under (cv) and has its own layout.tsx
-
Basically, the first group of routes should share one layout, or even root(?):
How could I go about implementing this in TanStack Router?
I am currently experimenting with converting a Next.js project that has the following routing (example):
Grouped under (main) and has its own layout.tsx in the Next.js world. Let's say this layout renders a header
-
/-
/aboutGrouped under (cv) and has its own layout.tsx
-
/$locale/cvBasically, the first group of routes should share one layout, or even root(?):
How could I go about implementing this in TanStack Router?