Vue项目开启步骤


## Build Setup

# install cnpm //安装淘宝CNPM镜像
npm install -g cnpm --registry=http://registry.npm.taobao.org

``` bash
# install dependencies //安装项目依赖
cnpm install

# serve with hot reload at localhost:8080 //运行项目
npm run dev

# build for production with minification
npm run build

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

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

Done


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM