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
statistics._index/index.tsx is using the component (Not a route) statistics._index/StatBlock/index (Re-exported, in my case I got multiples components in this directory)
Run yarn remix routes
Expected Behavior
Should generate the routes correctly and do not expect a subdirectory to be a subroute definition as defined in the documentation Folders for Organization section
Running yarn remix routes throw an exception as remix handle the sub-directory as the v1 convention and the component directory is considered as a subroute and no subroutes can't be defined in a _index route.
What version of Remix are you using?
v1.14.3
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Create thoses files and directory for the routing system.
statistics._index/index.tsx
is using the component (Not a route)statistics._index/StatBlock/index
(Re-exported, in my case I got multiples components in this directory)Run
yarn remix routes
Expected Behavior
Should generate the routes correctly and do not expect a subdirectory to be a subroute definition as defined in the documentation Folders for Organization section
Actual Behavior
Running
yarn remix routes
throw an exception as remix handle the sub-directory as the v1 convention and the component directory is considered as a subroute and no subroutes can't be defined in a_index
route.I made a simple reproduction project you can find here: https://github.com/MajorTom327/remix-route-v2
The text was updated successfully, but these errors were encountered: