0
点赞
收藏
分享

微信扫一扫

npm教程:发布包到nexus私服


使用nrm管理npm源

nrm add rofo http://localhost:8081/repository/rofo-npm-group/
nrm use rofo

或者

npm config set registry http://localhost:8081/repository/rofo-npm-group/

npm登录

npm login -registry=http://localhost:8081/repository/rofo-npm-hosted/

npm发布包到私服

npm publish -registry=http://localhost:8081/repository/rofo-npm-hosted/


举报

相关推荐

0 条评论