yarn install
- Change line 2 in index.js to:
const dev = false;
- Run in cmd
node index.js
- DEV url: http://localhost:3000/sample
- Change line 2 in index.js to:
const dev = true;
- Run in cmd:
yarn next build
- Run in cmd
node index.js
- PROD url: http://localhost/sample