Add instructions to statically build the site.
This commit is contained in:
parent
b1eefa89fc
commit
c6ea0cd095
|
@ -36,3 +36,11 @@ You can check out [the Next.js GitHub repository](https://github.com/vercel/next
|
|||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
||||
|
||||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
|
||||
|
||||
## Deploy Somewhere Else
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
```
|
||||
|
||||
The file output will then be at `out/` and contain the HTML, CSS, and JavaScript you need to statically serve the site.
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {}
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
|
|
Loading…
Reference in New Issue