NPM 镜像指令
2018-12-28 本文已影响0人
说了别不信
1、设置
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global
2、检测
npm config get registry
npm config get disturl
1、设置
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global
2、检测
npm config get registry
npm config get disturl