npm yarn 更换源
yarn源配置
查看当前源
yarn config get registry更换成淘宝源
yarn config set registry https://registry.npm.taobao.org/恢复官方源
yarn config set registry https://registry.yarnpkg.com恢复搜索功能
yarn config delete registrynpm源站配置
查看当前源
npm config get registry更换成淘宝源
npm config set registry https://registry.npm.taobao.org/恢复官方源
npm config set registry https://registry.npmjs.org恢复搜索功能
npm config delete registry 当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »