This example shows basic usage of output: 'export'
.
Deploy the example using Vercel or preview live with StackBlitz
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).