docs: updated info about 404.vue (#9155)

This commit is contained in:
Conner 2022-11-21 13:19:11 +01:00 committed by GitHub
parent 83db74a223
commit b2933cdfa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,10 +150,6 @@ Navigating to `/hello/world` would render:
<p>["hello", "world"]</p>
```
::alert{type="info"}
Nuxt also supports a custom `pages/404.vue` file which will handle all routes that are not otherwise matched (and set a 404 error code).
::
## Nested Routes
It is possible to display [nested routes](https://next.router.vuejs.org/guide/essentials/nested-routes.html) with `<NuxtPage>`.