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
Why is ProtectedSystemsSysIdImport being created when I already have _public/systems.$sysId.tsx?
Is it possible to restructure my code to fix this issue or is this a problem in generator?
Which project does this relate to?
Router
Describe the bug
I have simplified file structure like this:
In a real application each directory contains additional routes.
As you can see I don't have duplicated file routes. But after generation I get duplicated routes in
routeTree.gen.ts
:Why is
ProtectedSystemsSysIdImport
being created when I already have_public/systems.$sysId.tsx
?Is it possible to restructure my code to fix this issue or is this a problem in generator?
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-6ambir
Steps to Reproduce the Bug or Issue
npm run dev
Expected behavior
I expect to get valid route tree when there are no conflicting route files in the application.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: