yuey-cli
v1.1.8
Published
前端脚手架 JS VUE3 element plus...
Downloads
24
Readme
使用命令快速创建一个vue3管理后台项目
npx yuey-cli init project_name
其他扩展见下文,如不需要只执行这个命令即可帮您创建好一个
基于vite,vue3,element plus的已经配置好的项目骨架
安装脚手架到本地
npm install yuey-cli -g
yuey-cli init project_name
cd project_name
npm install
以上操作即可为你快速生成一个后台管理系统
cd project_name
yuey-cli page add/rm blog
page指令可以快速生成/移除一个模块
详见yuey-cli -h
默认的下载模板
现在默认的下载模板是一个vite,vue3,element plus组合的面向B端的后台管理系统,
你可以通过这个脚手架快速创建一个VUE后台管理系统,
你同时也可以设置自己的模板地址,
用于自己团队快速创建项目。
默认的管理后台管理还在完善中,敬请期待。。。
设置自己的下载模板
首先在github上创建一个公开的项目地址如https://github.com/用户名/仓库名.git
执行命令yuey-cli config set user 你的用户名
执行命令yuey-cli config set registry 你的仓库名
然后就可以在任意目录上创建你的项目了
yuey-cli init project_name