Back
>初期設定

初期設定

Date: 2021-03-31 08:15
Category : headless-2

初期設定


■ Setup

npm install


■ Setup , etc

  • next.config.js ,

if change URL

BASE_URL: "http://localhost:3003",
  • package.json / scripts

if change, port number ( -p )

"dev": "next dev -p 3003"

■ Start server

  • Start :
yarn dev
  • if change , release mode
yarn serve