next build && next export Static HTML Export (ok)

https://nextjs.org/docs/advanced-features/static-html-export

C:\Users\Administrator\Desktop\abc\package.json

{
  "name": "abc",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build && next export",
    "start": "next start"
  },
  "dependencies": {
    "next": "10.0.3",
    "react": "17.0.1",
    "react-dom": "17.0.1"
  }
}

Last updated

Was this helpful?