首先查看自己的电脑是否安装了node和npm
在gitbash中输入,如果有版本信息,说明你已经安装了,下载地址:https://nodejs.org/en/ 或者 http://nodejs.cn/
node -v
npm -v
下载脚手架
npm install -g vue-cli
npm install -g cnpm --registry=https://registry.npm.taobao.org //淘宝的脚手架可能更快,但是更容易出现一些未知错误
创建一个项目
vue init webpack test01
或者
vue init webpack-simple test01
进入项目
cd test01
安装
npm install
运行
npm run dev