1 回答
TA贡献1825条经验 获得超4个赞
安装weex-toolkit
1npm install -g weex-toolkit
weex命令使用方法
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
- 1 回答
- 0 关注
- 1502 浏览
添加回答
举报