Add instructions to statically build the site.

This commit is contained in:
Eli Ribble 2023-12-18 09:02:49 -07:00
parent b1eefa89fc
commit c6ea0cd095
2 changed files with 11 additions and 1 deletions

View File

@ -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.

View File

@ -1,4 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
output: 'export',
}
module.exports = nextConfig