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>

 

备案许可证号:鲁ICP备19004810号-1