dpweex-previewer
v1.0.0
Published
a tool help user to preview their weex files hook for knb
Downloads
11
Readme
dpweex-previewer
a tool help user to preview their weex files with dp knb
how to use
npm install dpweex-previewer --save
var preview = require('dpweex-previewer');
preview({
entry: 'index.vue',
port: 8081
});
use command line
npm install dpweex-previewer -g
dpweex-previewer index.vue
Options
| name | Type | Example | Description | | ------------- |:-------------:| -----:|----------:| | entry | string | 'src/index.vue' | the efile you want to preview | | open | boolean | true | auto open browser | | port | string | 8801 | specify an port for local web server | | wsport | string | 8804 | specify an websocket port for hot reload |
ChangeLog
1.3.9
- Fix ip address on server.
- Replace quick-local-ip module with ip module.