Next.jsで静的サイトとしてエクスポートする2022-03-21 公開約 1 分Markdownで開くNext.jsbashnext build && next export スクリプトを、 json{ "scripts": { "build": "next build && next export" } } のようにしておくと便利。 参考 https://nextjs.org/docs/advanced-features/static-html-export https://github.com/vercel/next.js/tree/canary/examples/with-static-export