myth-cli create 项目模板 项目名称
项目模板
-
common-vue3
-
common-nest-mysql-graphql
执行npm link命令先进行挂载,将该文件挂载到全局变量
完成后要用 npm unlink myth-cli 来取消
-
npm config get registry 查看自己的regitsry https://registry.npmmirror.com/
-
设置官方源 npm config set registry https://registry.npmjs.org/
npm whoami
npm login
发布前需要修改版本 npm version patch
npm publish