Skip to content

The code to demonstrate the Next.js multiple root layouts for solving critical layouting use cases.

Notifications You must be signed in to change notification settings

tapascript/nextjs-multiple-root-layout

Repository files navigation

How to use multiple root layouts in Next.js App Router?

The source code in this repository has been used to teach a Next.js topic. Please find the video here:

image

🫶 Support

Liked it? You can show your support with a STAR(⭐).

I am an independent educator who creates meaningful projects to teach programming. You can support me further by sponsoring me on GitHub.

Running the app locally

First, install the dependencies

npm install
# or
yarn
#or
pnpm install

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Next.js, take a look at the following resources:

About

The code to demonstrate the Next.js multiple root layouts for solving critical layouting use cases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published