You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
routeTree.gen.ts is not including visible layout routes in route path. For example I would expect the following path to be /visibleLayout/visibleLayoutA but it is just /visibleLayout.
I'm not sure I correctly understand the problem here. Looking at the generated route-tree from the sandbox above, everything looks to be in order with the runtime behaving as expected.
Have you discovered a runtime issue? or are you having an issue in getting the right types?
Which project does this relate to?
Router
@tanstack/router-plugin/vite
Describe the bug
routeTree.gen.ts is not including visible layout routes in route path. For example I would expect the following path to be
/visibleLayout/visibleLayoutA
but it is just/visibleLayout
.When trying to get all paths via ParseRoute['path'], it should have
/visibleLayout/visibleLayoutA
as one of the types but it only has/visibleLayoutA
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-zymkl5uh?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue
/visibleLayout/visibleLayoutA
visibleLayout
from path and it is now/visibleLayoutA
instead of/visibleLayout/visibleLayoutA
Expected behavior
I would expect the generated path to be
/visibleLayout/visibleLayoutA
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: