1.1.0 • Published 2 years ago

@fancy_fish/yu-cli v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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
1.1.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.8

2 years ago