查看npm和yarn 的镜像源和配置淘宝镜像源
1、查看
#npm:npm config get registry #yarn:yarn config get registry
2、设置
#(命令行)设置淘宝源#npm: npm config set registry https://registry.npm.taobao.org#yarnyarn config set registry https://registry.npm.taobao.org --global yarn config set disturl https://npm.taobao.org/dist --global
相关推荐
tomli 2020-04-26
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
tomli 2020-05-25
tomli 2020-05-11