npm教程:发布包到nexus私服

阅读 37

2023-09-02


使用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)

0 0 举报