37 lines
474 B
Markdown
37 lines
474 B
Markdown
# console
|
|
|
|
## Project setup
|
|
```
|
|
npm install
|
|
```
|
|
|
|
### Compiles and hot-reloads for development
|
|
```
|
|
npm run dev
|
|
```
|
|
|
|
### Compiles and minifies for production
|
|
```
|
|
npm run dist
|
|
```
|
|
|
|
### Compiles and minifies for production
|
|
```
|
|
npm run deploy -- -H 待部署主机的IP或域名 -r 待部署主机上的路径 -u 用户名 -p 密码
|
|
```
|
|
|
|
### Run your tests
|
|
```
|
|
npm run test
|
|
```
|
|
|
|
### Lints and fixes files
|
|
```
|
|
npm run lint
|
|
```
|
|
|
|
### Run your unit tests
|
|
```
|
|
npm run test:unit
|
|
```
|