help personalize components of Yoshino!
npm install -g yoshino-cli
yoshino init // init local backup
yoshino update // update local backup
yoshino new <component> // create your component
Please do this when you firstly install yoshino-cli.
it will init local backup.
yoshino init
do this when yoshino updates!
yoshino update
create personalized components of yoshino.The default output directory is components
.
yoshino new <component>
you can use --output
to customize the output directory!
yoshino new Alert --output mycomponents
output all components
yoshino all
you can use --output
to customize the output directory!
yoshino all --output mycomponents
output theme, eg: yoshino-theme-template
yoshino all --output mycomponents --theme yoshino-theme-template
-ts --typescript
output .tsx
,default output .js
yoshino new Button -ts