Vue.js系列之项目搭建
2021-06-20 00:04
                         标签:创建   div   bpa   镜像   搭建   1.7   ejs   新项目   ini    9.如下所示: Vue.js系列之项目搭建 标签:创建   div   bpa   镜像   搭建   1.7   ejs   新项目   ini    原文地址:http://www.cnblogs.com/AmbiguousMiao/p/7191268.html(中)https://nodejs.org/zh-cn/
(英)https://nodejs.org/en/
(node自带安装了npm,故不再安装)
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
安装模块时安装方法
$ cnpm install [name]
(中)http://cn.vuejs.org/
(英)https://vuejs.org/
$ cnpm install vue
$ cnpm install --global vue-cli
$ vue init webpack my-project
//my-project是你的项目名
$ cd my-project  //到项目目录下
$ cnpm install  //安装依赖
$ npm run dev
 
上一篇:PHP--继承