NextJs Build Out To Static HTML Index.html File
Quick note, Use these instructions to build out a static HTML for NextJs project.
- Open package.json
- Change build to: "build" : "next build && next export",
- Use command: npm run build or yarn build
- Done:
Resource: https://nextjs.org/docs/advanced-features/static-html-export