Back

windows - 搭建vuejs开发环境

发布时间: 2018-03-19 08:01:00

参考: https://segmentfault.com/a/1190000007612011

1. 下载 git bash.

2. 下载nvm.   记得要下载安装版本的.

对于windows, 要下载 nvmw, (https://github.com/coreybutler/nvm-windows 使用安装包的版本, 安装好, 修改windows的path, 要包含刚才安装的nvm 文件夹。 即可使用了)

3. 修改nvm目录的 settings.txt, 使用国内的taobao源。

4. nvm install 6.9.1 

5. 下载源代码

6. 安装cnpm.  $ npm install -g cnpm --registry=https://registry.npm.taobao.org

7. cnpm install

8. npm run dev

Back