0.0.9 • Published 1 year ago
publish-react-test01 v0.0.9
// 引入
import PublicTest from 'publish-react-test01';
npm 原始镜像:
https://registry.npmjs.org/
npm 最新淘宝镜像
https://registry.npmmirror.com/
设置镜像:
npm config set registry 镜像地址
查询镜像:
npm config get registry
# 登陆npm
npm login
# 发布npm包
npm publish
# 发布时报错
E404:说明当前使用的npm镜像不是原始镜像,必须使用原始镜像才能发布
E403:说明当前发布的版本已经存在了,需要在package.json中修改版本号
0.0.9
1 year ago