pnpm设置镜像源

# 查询当前使用的镜像源
pnpm get registry

# 设置为淘宝镜像源
pnpm config set registry https://registry.npmmirror.com/

# 还原为官方镜像源
pnpm config set registry https://registry.npmjs.org/

参考链接

https://blog.csdn.net/weixin_45046532/article/details/139681731

猜你喜欢

转载自blog.csdn.net/xutongbao/article/details/142784944