Update README.md

This commit is contained in:
Randy 2019-07-12 12:30:16 +08:00 committed by GitHub
parent 2c1d184304
commit 2feb702792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -11,41 +11,41 @@
npm install
```
### Compiles and hot-reloads for development运行项目
## Compiles and hot-reloads for development运行项目
```
npm run serve:randy
```
### Compiles and minifies for production打包
## Compiles and minifies for production打包
```
如果是首次打包或者第三方库文件发生变更,则需要先运行 npm run dll,用于抽离第三方库如vue vuex axios element-ui此后直接运行npm run build即可
npm run build
```
### analyze your items (项目模块分析)
## analyze your items (项目模块分析)
```
npm run analyze
```
### 温馨提示
## 温馨提示
```
在新增vue页面的时候热更新可能会失效重启一下项目
```
### Run your tests
## Run your tests
```
yarn run test
```
### Lints and fixes files
## Lints and fixes files
```
yarn run lint
```
### Run your unit tests
## Run your unit tests
```
yarn run test:unit
```
### Customize configuration
## Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).