An open API service indexing awesome lists of open source software.

https://github.com/tapascript/nextjs-multiple-root-layout

The code to demonstrate the Next.js multiple root layouts for solving critical layouting use cases.
https://github.com/tapascript/nextjs-multiple-root-layout

Last synced: 10 days ago
JSON representation

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

Awesome Lists containing this project

README

          

## 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](https://github.com/sponsors/atapas).

## Running the app locally

First, install the dependencies

```bash
npm install
# or
yarn
#or
pnpm install
```

Then, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```

Open [http://localhost:3000](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:

- [Full Stack With Next.js App Router](https://www.youtube.com/watch?v=VSB2h7mVhPg&list=PLIJrr73KDmRwz_7QUvQ9Az82aDM9I8L_8) - A Next.js App Router Playlist
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.