#1.修改create.js中这些配置改为自己的github名字const{ data }=awaitaxios.get('https://api.github.com/users/eternallycyf/repos')const{ data }=awaitaxios.get(`https://api.github.com/repos/eternallycyf/${repo}/tags`);letapi=`eternallycyf/${repo}`// 注意 需要打tag git tag -a v1.0 -m "my version 1.0"
#2.package.json中配置下自己cli的描述信息
#3.npm注意切换到npm源否则无法登录
#4.npmlogin
#5.npmpublishnpminstalllrxc-cli-glrxc-clicreatexxx1.0