npm和yarn转换淘宝源和官方源
1 | npm config set registry http://registry.npm.taobao.org/ |
npm 设置代理
1 | npm config set proxy http://127.0.0.1:8080 |
npm 删除代理
1 | npm config delete proxy |
yarn 设置代理
1 | yarn config set proxy http://127.0.0.1:8080 |
yarn 删除代理
1 | yarn config delete proxy |