Files
next.js/examples/basic-export
1948f5b4ba fix(create-next-app): link to app dir docs in next-env.d.ts in app dir templates (#68534)
Fixes #68533

A link to docs in `next-dev.d.ts` linked to the pages router docs in app
router templates. This was confusing, because some sections on this page
only work with pages router. This PR fixes that

---------

Co-authored-by: Sam Ko <[email protected]>
2024-08-09 22:21:28 +00:00
..

Basic export example

This example shows basic usage of output: 'export'.

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 basic-export basic-export-app
yarn create next-app --example basic-export basic-export-app
pnpm create next-app --example basic-export basic-export-app

Deploy it to the cloud with Vercel (Documentation).