- 官网下载node node官网
- 下载zip 版,解压,把node的路径配置到系统的环境变量里面
- 安装taobao的cnpm镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
- 安装vue-clie 脚手架,
cnpm install -g @vue/cli
or
yarn global add @vue/cli
- 安装yarn
cnpm install -g yarn
- 生成项目目录
vue create hello-world
- 运行
npm run serve
or
yarn serve