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
When creating a sub route using a folder (not dot convention) the index page is added as a children of the parent segment, this parent segment, which can be at any level, is assigned to load a module which is undefined, as you can see in the following snippet:
I added a fix for this problem which is tested locally and works as expected but idk if this is the way to solve it since probably the modules shouldn't be undefined.
Describe the Bug
When creating a sub route using a folder (not dot convention) the index page is added as a children of the parent segment, this parent segment, which can be at any level, is assigned to load a module which is undefined, as you can see in the following snippet:
This is my router structure:
Generouted Version
1.19.10
Your Example Website or App or Reproduction
https://stackblitz.com/edit/vitejs-vite-czkznhxy?file=src%2FApp.tsx
Steps to Reproduce the Bug or Issue
Expected Behavior
I expect to successfully navigate to the route but i'm seeing a navigation error indicating
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: