T
TanStack•3w ago
correct-apricot

Router defining root route as parent route for all file routes

Is there any known reason/quick fix as to why when I create new file routes with nested routes in them it would default the parent route to be the root route rather than the immediate parent route? Is that something I have to configure? For example, I have sales/invoices, sales/invoices/new, sales/invoices/$invoiceId All of those in my routeTree.gen.ts are being defined with the parent route as rootRoute
1 Reply
correct-apricot
correct-apricotOP•3w ago
Please disregard. It's like api's change when things move from Beta to 1.0/stable 🫠

Did you find this page helpful?