npm源 设置

查看当前npm源

npm config get registry
>http://registry.npmjs.org/

修改npm源(设置为淘宝npm源)

npm config set registry https://registry.npm.taobao.org

转载于:https://www.jianshu.com/p/947635158c38

猜你喜欢

转载自blog.csdn.net/weixin_34177064/article/details/91190190