/www/wwwroot/blog.gumengya.com/usr/plugins/AMP/templates/MIPpage.php on line 31
">

npm yarn 更换源

2022-08-24T01:10:00

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 registry

npm源站配置

查看当前源

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
当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »