Shows how to use _app.js to implement a global layout for all pages.
Deploy the example using Vercel:
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).