docs: static exports (#67181)

This commit is contained in:
Lee Robinson 2024-06-25 08:05:09 -05:00 committed by GitHub
parent d824059439
commit 8b5661eb45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,12 +11,6 @@ When running `next build`, Next.js generates an HTML file per route. By breaking
Since Next.js supports this static export, it can be deployed and hosted on any web server that can serve HTML/CSS/JS static assets.
<PagesOnly>
> **Good to know**: We recommend using the App Router for enhanced static export support.
</PagesOnly>
## Configuration
To enable a static export, change the output mode inside `next.config.js`: