码迷,mamicode.com
首页 > 其他好文 > 详细

Vue项目开启步骤

时间:2017-11-14 14:17:00      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:one   uil   dev   webpack   report   tao   pac   npm   view   

## 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项目开启步骤

标签:one   uil   dev   webpack   report   tao   pac   npm   view   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!