# install dependency
npm install
# develop
npm run dev
Build
# build for test environment
npm run build:sit
# build for production environment
npm run build:prod
Advanced
# --report to build with bundle size analytics
npm run build:prod --report
# --generate a bundle size analytics. default: bundle-report.html
npm run build:prod --generate_report
# --preview to start a server in local to preview
npm run build:prod --preview
# lint code
npm run lint
# auto fix
npm run lint -- --fix