@kaas-devteam/kaas-cli

1.10.0 • Public • Published

kaas-cli

Init kaas app helper tools.

Install

$ npm i @kaas-devteam/kaas-cli -g
$ kaas -h

Command

Kaas Create

Usage: kaas create <projectName>
// select a boilerplate by yourself
? Which project you want to create?
❯ ssr - ssr project
  spa - spa project

Skip template select use -t spa

Options:
  --template  -t          boilerplate type                                                [string]
  --force, -f     force to override directory                                     [boolean]
  --version       Show version number                                             [boolean]
  -h, --help      Show help                                                       [boolean]

Kaas inject [mode]

Usage: kaas inject mobile
// if mode can‘t recognize,will show this list
❯ Mobile: inject mobile dependent configuration 
  Tools: inject common utils tool 
  Cancel  

inject mobile

    1. check targetdir install postcss-pxtorem
    1. add postcss-pxtorem to webpack or postcss
    1. add flexbile.js to html or head

License

MIT

Package Sidebar

Install

npm i @kaas-devteam/kaas-cli

Weekly Downloads

1

Version

1.10.0

License

ISC

Unpacked Size

30.9 kB

Total Files

16

Last publish

Collaborators

  • czr
  • 189