First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
yarn build
start your server side
yarn start
static export is available in the out folder
a bit of configuration is required if you want to use the static side, this configuration will return to default when build && export this project
added . if css and js links are not found in every html
page
before
/_next/static/chunk......
after
./_next/static/chunk......
check the href tag for page switching on each html
file
before
href="/"
href="Capacity increase"
after
href="index.html"
href="Capacityincrease.html"
open html file in web browser or live server
Have a good time