diff --git a/README.md b/README.md index 12fd202..04d7f16 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/next.config.js b/next.config.js index 767719f..fcf8eb6 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,6 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {} +const nextConfig = { + output: 'export', +} module.exports = nextConfig