设置yarn源修改为淘宝源
yarn修改为淘宝源
和npm修改淘宝源的的步骤差不多
查看当前源
yarn config get registry
临时修yran源
yarn save package_name --registry https://registry.npm.taobao.org/
修改yarn源为taobao源
yarn config set registry https://registry.npm.taobao.org/
修改yarn源为官方源
yarn config set registry https://registry.yarnpkg.com
相关推荐
yegen00 2020-10-21
Notzuonotdied 2020-09-17
hline 2020-07-29
tomli 2020-07-26
xieting 2020-07-04
YarnSup 2020-06-28
flyingbird 2020-06-14
Notzuonotdied 2020-06-13
xieting 2020-05-29
tomli 2020-05-27
xieting 2020-05-26
tomli 2020-05-25
tomli 2020-05-11
strongyoung 2020-05-09