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.
- Host: GitHub
- URL: https://github.com/tapascript/nextjs-multiple-root-layout
- Owner: tapascript
- Created: 2024-03-07T08:37:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T09:06:35.000Z (over 1 year ago)
- Last Synced: 2025-04-07T09:03:55.215Z (12 months ago)
- Language: JavaScript
- Size: 880 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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:
## 🫶 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.
