0.0.3 • Published 6 years ago

weex-generator-cli v0.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

weex-generator-cli

NPM version License

A simple CLI for scaffolding weex projects

usage

$ npm i weex-generator-cli -g

we suggest you use weex-toolkit

CLI

wg init

wg build

compile all files in directory path/to/src and output to path/to/dist

$ wg build path/to/src path/to/dist

options

    -h, --help           output usage information
    -v,--version         show version
    --ext [ext]          set enabled extname for compiler default is vue|we
    --web                set web mode for h5 render
    -w,--watch           watch files and rebuild
    --devtool [devtool]  set webpack devtool mode
    --min                compress the output js (will disable inline-source-map)
    --filename           set filename template of webpack, like `[name].web.js`

Lisence

MIT