Buckets:
32.9 GB
31,201 files
Updated 2 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| app | 3 items | ||
| tsconfig.json | 638 Bytes xet | d1d312cb | |
| package.json | 361 Bytes xet | d761a25a | |
| next.config.js | 134 Bytes xet | c44b351b | |
| README.md | 1.23 kB xet | a51b5a6f | |
| .gitignore | 437 Bytes xet | f8bee8be |
Next.js Static Export
Next.js enables starting as a static site or Single-Page Application (SPA), then later optionally upgrading to use features that require a server.
When running next build, Next.js generates an HTML file per route. By breaking a strict SPA into individual HTML files, Next.js can avoid loading unnecessary JavaScript code on the client-side, reducing the bundle size and enabling faster page loads.
Learn more: https://nextjs.org/docs/app/building-your-application/deploying/static-exports
Deploy your own
How to use
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-static-export with-static-export-app
yarn create next-app --example with-static-export with-static-export-app
pnpm create next-app --example with-static-export with-static-export-app
- Total size
- 32.9 GB
- Files
- 31,201
- Last updated
- Sep 26
- Pre-warmed CDN
- US EU US EU