我花不到十分钟集齐了五福!
确保安装了git、 nodejs 安装淘宝镜像,(安装其他包的时候,会自动把cnpm替换成npm,安装依赖会相对比较快)
npm install -g cnpm --registry=https://registry.npm.taobao.org
安装vue
cnpm install vue
生成一个简单的架构
vue create hello-world
运行
cnpm run serve
运行后自动在默认浏览器打开: