Unverified Commit 72d4584e authored by David Alexandru Ilie's avatar David Alexandru Ilie Committed by GitHub

docs: clarify root layout creation with Turbopack

parent 0b7e96f4
...@@ -213,7 +213,7 @@ Both `layout.tsx` and `page.tsx` will be rendered when the user visits the root ...@@ -213,7 +213,7 @@ Both `layout.tsx` and `page.tsx` will be rendered when the user visits the root
> **Good to know**: > **Good to know**:
> >
> - If you forget to create the root layout, Next.js will automatically create this file when running the development server with `next dev`. > - When using webpack, Next.js will automatically create the root layout if you forget it when running `next dev`. [Turbopack does not support automatic root layout creation](/docs/app/api-reference/turbopack#framework-and-react-features), so you must create the file manually.
> - You can optionally use a [`src` folder](/docs/app/api-reference/file-conventions/src-folder) in the root of your project to separate your application's code from configuration files. > - You can optionally use a [`src` folder](/docs/app/api-reference/file-conventions/src-folder) in the root of your project to separate your application's code from configuration files.
</AppOnly> </AppOnly>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment