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
@manzano78 You should probably create a new issue instead of commenting on a closed PR.
Anyway, yes. If you are using flat-folders convention (where routes are folder names instead of filenames), then _index.tsx should be treated as the route and everything else as colocated files.
Can you run npx remix routes and paste the result? Please do so in another issue and reference this comment.
Thanks!
The text was updated successfully, but these errors were encountered:
We just published version v0.0.0-nightly-f5475db-20230111 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!
We just published version 1.10.1-pre.0 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!
What version of Remix are you using?
v0.0.0-nightly-45d4491-20230106
Steps to Reproduce
npx create-remix@v0.0.0-nightly-45d4491-20230106
remix.config.js
file:footer.tsx
andprimary-nav.tsx
files export a default component.npx remix routes
Expected Behavior
Actual Behavior
Only
_index.tsx
should be considered as a route. Everything else should be ignored because considered as colocated files, as @kiliman says here:#4880 (comment)
The text was updated successfully, but these errors were encountered: