With App layout example

Shows how to use _app.js to implement a global layout for all pages.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-app-layout with-app-layout-app
# or
yarn create next-app --example with-app-layout with-app-layout-app

Deploy it to the cloud with Vercel (Documentation).