Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
remix-run-bot committed Aug 24, 2023
1 parent f9c7e99 commit c445bd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/discussion/02-routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ app/
└── sponsored.tsx
```

You can read more about the specific patterns in the file names and other features in the [Route File Conventions](../file-conventions/routes) reference.
You can read more about the specific patterns in the file names and other features in the [Route File Conventions][route-file-conventions] reference.

Only the folders directly beneath `routes/` will be registered as a route. Deeply nested folders are ignored. The file at `routes/about/header/route.tsx` will not create a route.

Expand Down Expand Up @@ -140,3 +140,5 @@ export default {
```

Remix's route configuration approach blends convention with flexibility. You can use the `routes` folder for an easy, organized way to set up your routes. If you want more control, dislike the file names, or have unique needs, there's `remix.config`. It is expected that many apps forgo the routes folder convention in favor of `remix.config`.

[route-file-conventions]: ../file-conventions/routes

0 comments on commit c445bd6

Please sign in to comment.