Sun Cli
A collection of commands used in the Sonli Design Vue component library
Installation
npm install @sun-design/sun-cli
Commands
Run sun-cli --help
to see all available commands and options.
-
sun-cli docgen
: generate document of component. -
sun-cli icongen
: generate icon components. -
sun-cli lessgen
: generate index less file. -
sun-cli dtsgen
: emit .d.ts files for vue files. -
sun-cli dev:component
: build components with watch mode. -
sun-cli dev:site
: start vite server for development. -
sun-cli build:component
: build production files. -
sun-cli build:style
: build style related files. -
sun-cli build:site
: build document site. -
sun-cli build:material
: build vue material. -
sun-cli test
: run test for component or material. -
sun-cli changelog
: Obtain and organize changelog information through the git repository.