docs: fix wording related to route groups (#2368)

This commit is contained in:
Joe Lutz
2024-03-18 21:01:58 +00:00
committed by GitHub
parent 30a25dd2f3
commit 0ea8b0dbc6
+3 -3
View File
@@ -81,9 +81,9 @@ can only have one `_layout` file.
``` ```
We can solve this problem with route groups. A route group is a folder which has We can solve this problem with route groups. A route group is a folder which has
a name that is wrapped in braces. For example `(pages)` would be considered a a name that is wrapped in parentheses. For example `(pages)` would be considered
route and so would be `(marketing)`. This enables us to group related routes in a route group and so would `(marketing)`. This enables us to group related
a folder and use a different `_layout` file for each group. routes in a folder and use a different `_layout` file for each group.
```txt Project structure ```txt Project structure
└── routes └── routes