vue 淘宝镜像

1、淘宝镜像安装

npm config set registry https://registry.npm.taobao.org

2配置后可通过下面方式来验证是否成功 
npm config get registry

3.通过cnpm使用

npm install -g cnpm --registry=https://registry.npm.taobao.org

原文地址:https://www.cnblogs.com/Ting-log/p/9151155.html