前端项目配置下载源

npm:

npm config set registry https://registry.npmmirror.com -g验证: npm config get registry yarn:

yarn config set registry https://registry.npmmirror.com -gyarn config get registryyarn找不到, 需要管理员在命令行: set-executionpolicy remotesigned pnpm:

pnpm config set registry https://registry.npmmirror.com -gpnpm config get registry

文章链接

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。