JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q44158F
  • License ISC

Quickly generate project

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

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

    License

    MIT