# 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).