本文へスキップ

Next.jsで静的サイトとしてエクスポートする

公開 1
bash
next build && next export

スクリプトを、

json
{
  "scripts": {
    "build": "next build && next export"
  }
}

のようにしておくと便利。

参考

結果なし