a105515766
Creates a root layout if it is missing in DEV when building the page in `next-app-loader`. If the page is in a route group, the layout will be created there. Otherwise it will create a layout directly under `/app`. Breaks the build if a page is found that's missing a root layout. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) |
||
---|---|---|
.. | ||
react-dev-overlay | ||
app-router.tsx | ||
dynamic.tsx | ||
error-boundary.tsx | ||
headers.ts | ||
hooks-client-context.ts | ||
hooks-server-context.ts | ||
infinite-promise.ts | ||
layout-router.tsx | ||
match-segments.ts | ||
navigation.ts | ||
not-found.ts | ||
redirect.ts | ||
reducer.ts | ||
render-from-template-context.tsx | ||
request-async-storage.ts | ||
static-generation-async-storage.ts | ||
use-reducer-with-devtools.ts |