40 lines
767 B
Markdown
40 lines
767 B
Markdown
# demo
|
|
|
|
## Project setup
|
|
```
|
|
npm install
|
|
```
|
|
### 依赖安装
|
|
npm install --registry=https://registry.npmmirror.com
|
|
|
|
### Compiles and hot-reloads for development
|
|
```
|
|
npm run serve
|
|
```
|
|
|
|
### Compiles and minifies for production
|
|
```
|
|
npm run build
|
|
```
|
|
|
|
### Customize configuration
|
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
|
|
|
### 引用的插件
|
|
|
|
npm install vue-photo-preview --save (图片放大预览)
|
|
|
|
npm install --save video.js
|
|
npm install --save vue-video-player (视频播放)
|
|
|
|
npm install moment --save (日期格式化)
|
|
|
|
npm i style-resources-loader --save-dev
|
|
npm install less-loader@5.0.0 --save (Less)
|
|
npm install less --save
|
|
|
|
npm add qs (get方式传参数组)
|
|
|
|
npm install --save flv.js (flvJs)
|