T
TanStack3y ago
wise-white

Hi I'm wondering how to use two different layout routes.

For now I made a rootRoute which contains 2 layout routes layout route a and layout route b these two act as a parent route for their child routes, these layout routes are using an id as stated in the docs. This all works fine if I put them in a specific order in the routeTree in the end. If I swap layout a with layout b my index route(/ in parent b) is resolving to a nested route(interventions/$eventId) in router a . both layout routes are children from the rootRoute Is this intended behaviour? edit: clarification
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?