设置npm淘宝镜像以及恢复原镜像
2019-05-31 本文已影响0人
_鸭鸭
安装淘宝镜像
npm config set registry=https://registry.npm.taobao.org
不使用淘宝镜像恢复原来的镜像
npm config set registry https://registry.npmjs.org
安装淘宝镜像
npm config set registry=https://registry.npm.taobao.org
不使用淘宝镜像恢复原来的镜像
npm config set registry https://registry.npmjs.org