liujq 80cdf85774 t | 3 years ago | |
---|---|---|
build | 3 years ago | |
public | 3 years ago | |
src | 3 years ago | |
tests | 3 years ago | |
.editorconfig | 3 years ago | |
.env.development | 3 years ago | |
.env.production | 3 years ago | |
.env.staging | 3 years ago | |
.eslintignore | 3 years ago | |
.eslintrc.js | 3 years ago | |
.gitignore | 3 years ago | |
.travis.yml | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
babel.config.js | 3 years ago | |
jest.config.js | 3 years ago | |
jsconfig.json | 3 years ago | |
package.json | 3 years ago | |
postcss.config.js | 3 years ago | |
vue.config.js | 3 years ago |
npm install
npm run dev
This will automatically open http://localhost:9528
## Build
```bash
# build for test environment
npm run build:stage
# build for production environment
npm run build:prod
# 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