yarn 设置镜像源

PS D:\source> yarn config get registry
https://registry.npmjs.org
PS D:\source> yarn config set registry https://registry.npm.taobao.org
yarn config v1.21.1
success Set "registry" to "https://registry.npm.taobao.org".
Done in 0.08s.
PS D:\source> yarn config get registry
https://registry.npm.taobao.org
PS D:\source>

猜你喜欢

转载自blog.csdn.net/xutongbao/article/details/123582314
今日推荐