npm发布本身的包

准备工做

一、将npm包的镜像换成  https://registry.npmjs.orgnpm

npm config set registry https://registry.npmjs.org

由于这个官方npm加载速度慢,以后再切换回来antd

npm config set registry https://registry.npm.taobao.org

注册帐号

访问https://www.npmjs.com/code

登陆

npm login

发布(要先打包)

npm publish --access public

撤回

npm --force unpublish @jeessy/formik-antd
相关文章
相关标签/搜索