Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@kaas-devteam/kaas-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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