Build
Yarn build
Step 1:
yarn installStep 2:
yarn buildStep 3:
yarn startYarn Development mode
Step 1:
yarn installStep 2:
yarn devNPM build
Step 1:
Step 2:
Step 3:
NPM Development mode
Step 1:
Step 2:
Refer: https://nextjs.org/docs/getting-started
Build: Builds the app for production to the
.nextfolder. It correctly bundles React in production mode and optimizes the build for the best performance.Start: Starts the application in production mode. The application should be compiled with
next buildfirst.Dev: Runs the app in the development mode. Open http://localhost:3003 to view it in the browser.
Last updated