a tool help user to preview their weex files
Last updated 4 months ago by erha19 .
ISC · Repository · Bugs · Original npm · Tarball
$ cnpm install weex-previewer 
SYNC missed versions from official npm registry.


npm Build Status

a tool help user to preview their weex files

how to use

npm install weex-previewer --save
var preview = require('weex-previewer');
  entry: 'src/index.vue',
  port: 8081

use command line

npm install weex-previewer -g
weex-previewer src/index.vue


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



  • Fix ip address on server.
  • Replace quick-local-ip module with ip module.
Today 23
This Week 339
This Month 2,702
Last Day 182
Last Week 817
Last Month 4,440
Dependencies (15)
Dev Dependencies (9)

Copyright 2014 - 2016 © taobao.org |