数码产品

yarn 更改 镜像源

yarn config get registry
# -> https://registry.yarnpkg.com

# 改成 taobao 的源:
yarn config set registry https://registry.npm.taobao.org
# -> yarn config v0.15.0
# -> success Set "registry" to "https://registry.npm.taobao.org".

# 看到 succes 表示安装完毕
posted @ 2020-08-05 09:13  Hackerman  阅读(3409)  评论(0编辑  收藏  举报
数码产品