注意:在安装好了 npm 以后,修改数据源为淘宝的,因为使用官方的镜像源太慢了。
更改缓存目录:yarn config set cache-folder "D:\develop\yarn\yarn_cache"
更换模块安装目录:yarn config set global-folder "D:\develop\yarn\yarn_global"
注意:yarn 添加环境变量
参考:yarn的安装和使用
官网:https://cn.vuejs.org/v2/guide/installation.html
搭建vue开发环境的步骤
Node.js 是个运行时环境,与java 的 JVM 一样的。
原文:https://www.cnblogs.com/liyiran/p/13276532.html