Open nozomione opened 2 months ago
The app router uses the app folder and the root layout (required) which is a replacement for the _app and _document files of the page router.
app
_app
_document
We'll need to add them in the project directory.
As stated above, create a new directory app for the app router and add a root layout file.
./src
app/layout.js
Context
The app router uses the
app
folder and the root layout (required) which is a replacement for the_app
and_document
files of the page router.We'll need to add them in the project directory.
Problem or idea
As stated above, create a new directory
app
for the app router and add a root layout file.Solution or next step
app
folder in./src
app/layout.js
file