首页 > 其他 > 详细

Vue项目开启步骤

时间:2017-11-14 12:23:11      阅读:243      评论:0      收藏:0      [点我收藏+]

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

Vue项目开启步骤

原文:http://www.cnblogs.com/chuancheng/p/7831540.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!