Skip to content

other options

  1. build :生成 .next 文件
  2. start:开启 nodejs 服务器,包含静态生成、服务端渲染、API Routes 混合页面
json
{
  "scripts": {
    "dev": "next",
    "build": "next build",
    "start": "next start"
  }
}