π οΈInstallations
Install Next Boilerplate, the lifecycle of developing the frontend & backend app in your team.
Download code and change name directory root
npm init next-app project-name --example "https://github.com/ngadiono/next-boilerplate/tree/main"Install package modules app
npm install
# or
yarnRun the development server
npm run dev
# or
yarn devOpen 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.
Build production app
npm run build
# or
yarn buildStarting app on production
npm run start
# or
yarn startAnother node scripts
Analyze bundle app
yarn analyzeStarting unit testing
yarn testRunning HTTP server for HTML
yarn htmlLast updated
Was this helpful?