1.npm get registry --显示当前的镜像网址
https://registry.npmjs.org/
2.npm config set registry http://registry.npm.taobao.org -- 使用淘宝的镜像网址
3.npm get registry
http://registry.npm.taobao.org/
4.npm install jsonp --save
本文详细介绍了如何使用npm命令配置不同的镜像源,包括显示当前镜像网址、设置淘宝镜像源,以及安装包的具体操作流程。
1.npm get registry --显示当前的镜像网址
https://registry.npmjs.org/
2.npm config set registry http://registry.npm.taobao.org -- 使用淘宝的镜像网址
3.npm get registry
http://registry.npm.taobao.org/
4.npm install jsonp --save

被折叠的 条评论
为什么被折叠?