README.md 617 Bytes
Newer Older
YazhouChen's avatar
YazhouChen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# onos_vue

> A Vue.js project

## Build Setup

``` bash
# 安装npm的淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
# install dependencies
cnpm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
cnpm run build

# build for production and view the bundle analyzer report
cnpm run build --report

# run unit tests
cnpm run unit

# run all tests
cnpm test
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).