rsnext/examples/with-app-layout
Max Proske efbabd2a5e
Convert with-app-layout example to TypeScript (#42930)
Converted example to TypeScript to match Contribution docs.

## Documentation / Examples

- [X] Make sure the linting passes by running `pnpm build && pnpm lint`
- [X] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-11-15 10:44:38 +00:00
..
pages Convert with-app-layout example to TypeScript (#42930) 2022-11-15 10:44:38 +00:00
.gitignore Update default gitignore templates (#39051) 2022-07-26 20:08:40 -05:00
package.json Convert with-app-layout example to TypeScript (#42930) 2022-11-15 10:44:38 +00:00
README.md Convert with-app-layout example to TypeScript (#42930) 2022-11-15 10:44:38 +00:00
tsconfig.json Convert with-app-layout example to TypeScript (#42930) 2022-11-15 10:44:38 +00:00

With App layout example

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

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

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

npx create-next-app --example with-app-layout with-app-layout-app
yarn create next-app --example with-app-layout with-app-layout-app
pnpm create next-app --example with-app-layout with-app-layout-app

Deploy it to the cloud with Vercel (Documentation).