/vue-style-cli

命令行生成 .vue

Primary LanguageJavaScriptMIT LicenseMIT

vue-style-cli

This is a cli tool for create .vue;

Install

  // npm
  npm install vue-style-cli -g

Usage

Usage: vs [options] [command]
Options:
    -V, --version            output the version number
    -h, --help               output usage information

Commands:

create|c [options] create a vue component with directory

Options:
    -p, --path [path]  real path; Please use relative paths
    -o,--only          create only component without directory
    -s,--scoped        Scoped CSS
    -l, --lang [lang]  CSS Modules
    -t, --typescript [format] TypeScript support two formats (In multi folder only): vue template and html template
    -h, --help         output usage information