Course lesson

Setup the Root Layout in a Next.js App Router Project

When we initialized the app router Nextjs automatically created our root level layout.tsx file in the app router.

Duration
3 min
Access
Free
Transcript
Retained from source evidence

When we initialized the app router Nextjs automatically created our root level layout.tsx file in the app router.

We will start migrating our pages router app to the app router by adding components from _app.tsx in the pages router to the root layout in our app router.