凤凰求蛊
安装weex-toolkit1npm install -g weex-toolkitweex命令使用方法weex foo/bar/we_file_or_dir_path [options]weex init Options: --qr display QR code for native runtime, -o,--output transform weex we file to JS Bundle, output path (single JS bundle file or dir) [for create sub cmd] it specified we file output path --watch using with -o , watch input path , auto run transform if change happen -s,--server start a http file server, weex .we file will be transforme to JS bundle on the server , specify local root path using the option -h, --host specify server listening IP --port http listening port number ,default is 8081 --wsport websocket listening port number ,default is 8082 -f, --force [for create sub cmd] force to replace exsisting file(s) --np do not open preview browser automatic --version show version of weex toolkit --help Show help