Yarn设置国内镜像源

这个设置偶尔用一次,要用时候又老是找不到,干脆自己记一下

一共就2行代码

yarn config set registry https://registry.npm.taobao.org --global

yarn config set disturl https://npm.taobao.org/dist --global

完事!

发布了35 篇原创文章 · 获赞 9 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/qq_31061615/article/details/86511218