Nexus上传npm包

1.建立npm仓库react

私服仓库npm-hostednpm

 

 代理仓库npm-proxybash

 

 npm-group代理

建立成功blog

 在工程的根目录下建立文件 .npmrcit

registry=http://xxx:8081/nexus/repository/npm-group/

而后安装reactclass

npm --loglevel info install react

或者下载

npm install --registry=http://xxx:8081/nexus/repository/npm-group/

仓库上将会下载这个npm包im

相关文章
相关标签/搜索