@kaas-devteam/kaas-cli
v1.10.0
Published
Quickly generate project
Downloads
2
Readme
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
- check targetdir install postcss-pxtorem
- add postcss-pxtorem to webpack or postcss
- add flexbile.js to html or head