weexify
v0.0.1
Published
compile weex .we for browserify
Downloads
2
Readme
Weexify
compile weex .we for browserify
Install
$npm install weexify browserify
Usage
browserify command line
transform a we file
to JS Bundle
$ browserify foo.we -t weexify > foo.js
browserify API
var browserify = require('browserify')
, weexify = require('weexify')
, fs = require('fs')
var b = browserify('template.we')
, output = fs.createWriteStream('template1.js')
b.transform(weexify)
b.bundle().pipe(output)
Issue & Feedback
Changelog
- 160620(0.0.1) : first version