Skip to content

Commit

Permalink
docs(file-conventions/route-files-v2): use new route.tsx convention (
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarkow authored Mar 8, 2023
1 parent 0867fc4 commit 96813db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/file-conventions/route-files-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ If you want one of the special characters Remix uses for these route conventions

## Folders for Organization

Routes can also be folders with a conventional node module resolution `index.tsx` file inside defining the route module. The rest of the files in the folder will not become routes. This allows you to organize your code closer to the routes that use them instead of repeating the feature names across other folders.
Routes can also be folders with a `route.tsx` file inside defining the route module. The rest of the files in the folder will not become routes. This allows you to organize your code closer to the routes that use them instead of repeating the feature names across other folders.

<docs-info>The files inside a folder have no meaning for the route paths, the route path is completely defined by the folder name</docs-info>

Expand Down

0 comments on commit 96813db

Please sign in to comment.