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
Error: Child routes are not allowed in index routes. Please remove child routes of _index
It does the same if you use blocks/route.tsx as well.
The code shouldn't be digging that deep in the first place to even register that there might a route definition. It should only be looking for routes at: routes/*.tsx and routes/*/route.tsx.
There's no reason for it to be digging deeper, you should be able to name things whatever you want once you're in a route folder aside from folder/route.tsx and folder/index.tsx.
The text was updated successfully, but these errors were encountered:
We just published version v0.0.0-nightly-4d86674-20230321 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
If you have a file system that looks like this:
remix build
throws an error:It does the same if you use
blocks/route.tsx
as well.The code shouldn't be digging that deep in the first place to even register that there might a route definition. It should only be looking for routes at:
routes/*.tsx
androutes/*/route.tsx
.There's no reason for it to be digging deeper, you should be able to name things whatever you want once you're in a route folder aside from
folder/route.tsx
andfolder/index.tsx
.The text was updated successfully, but these errors were encountered: