本文共 200 字,大约阅读时间需要 1 分钟。
npm config get registry //检查仓库镜像npm config set registry=http://registry.npmjs.orgecho '请进行登录相关操作'npm loginecho 'publish'npm publishnpm config set registry=http://registry.npm.taobao.orgecho '发布完成'exit
转载地址:http://tpsh.baihongyu.com/