npm包 指定对应的包从私人仓库下载

创建   .npmrc

strict-peer-dependencies=false

registry = "https://registry.npmjs.org/"

@[自定义包名] : registry="http://npm.[私人仓库名字].com"

@[自定义包名2] : registry="http://npm.[私人仓库名字].com"

@[自定义包名3] : registry="http://npm.[私人仓库名字].com"

猜你喜欢

转载自blog.csdn.net/weixin_43416349/article/details/128986305