@fancy_fish/yu-cli
v1.1.0
Published
Create projects quickly and automate component creation in the VITE environment
Downloads
2
Readme
Introduction
The cli use to create a project of vue3 and offer some utils and command that can generate component or common methods. Components created through this cli are automatically registered If the "yu" command is invalid, prefix it with the NPX command
快速开始 start quickly
npm i @fancy_fish/yu-cli
使用说明 Usage
$ npx yu create <projectName>
The command will create a project of vue3,ts,pinia and router
create Components
$ npx yu comp <componentName>
The command will create a component according your choice,includes of the template of tsx,setup,defineComponent
init project
$ npx yu init <projectName>
The command will create a project. You can choose the templates of vue、vue+ts、react and react+ts.Recommend to use vue or vue3.Up to now,The cli only offer utils for vue
auto
$ npx yu auto
The command will offer some choice to create autoload codes
comment
这个功能会自动生成注释目前只针对 function函数暂不支持箭头函数
$ npx yu comment