Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 577 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 577 Bytes

Getting started

# enter the project directory
cd lego

# install dependency
npm install

# develop
npm run dev

This will automatically open http://localhost:9527

Build

# build for test environment
npm run build:stage

# build for production environment
npm run build:prod

Advanced

# preview the release environment effect
npm run preview

# preview the release environment effect + static resource analysis
npm run preview -- --report

# code format check
npm run lint

# code format check and auto fix
npm run lint -- --fix