I built a demo of nextjs with multiple layout.
Firstly clone the multiple-layout github repository:
git clone https://github.com/officialrajdeepsingh/multiple-layout.git
# OR
cd multiple-layout
# 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.