/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
errors/nested-reserved-page.mdx
17 строк
683 B
Delba de Oliveira
docs: Migrate error messages to MDX and App Router. (#52038)
05 июл 2023, 16:11
Не верифицирован
05 июл 2023, 16:11
44d1a1c
Код
Авторство
О чём код?
--- title: Nested Reserved Page --- ## Why This Error Occurred In your pages folder you nested a reserved page e.g. `_app`, `_error`, or `_document` which causes the page to not be used since they must be located directly under the pages folder. ## Possible Ways to Fix It Move the reserved pages directly under your pages folder so that they are picked up and used correctly. ## Useful Links - [Custom `_app` Documentation](/docs/pages/building-your-application/routing/custom-app) - [Custom `_error` Documentation](/docs/pages/building-your-application/routing/custom-error) - [Custom `_document` Documentation](/docs/pages/building-your-application/routing/custom-document)