mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
docs: small typo in the "catch-all route" description (#5273)
This commit is contained in:
parent
c1f728ee54
commit
f71ef42d50
@ -103,7 +103,7 @@ Given the Example above, fetching `/test` with:
|
|||||||
|
|
||||||
### Catch-all route
|
### Catch-all route
|
||||||
|
|
||||||
Catch-all routes are helpful for fallback route handling. For Example, creating a file in the `~/server/api/foo/[...].ts` will register a catch-all route for all requests that do not match any route handler, such as `/api/foo/bar/baz`.
|
Catch-all routes are helpful for fallback route handling. For example, creating a file named `~/server/api/foo/[...].ts` will register a catch-all route for all requests that do not match any route handler, such as `/api/foo/bar/baz`.
|
||||||
|
|
||||||
**Examples:**
|
**Examples:**
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user