weex-vue-migration
weex-vue-migration
Migration from *.we file to *.vue file.
Install
npm install weex-vue-migration
Usage
CLI tool
Usage: weex-vue-migrate [options] <file...>
Options:
-h, --help output usage information
-V, --version output the version number
-e, --entry [path] entry files, separated by comma `,`
-o, --output [path] output file dirname
API
transform(weexCode, isEntry)
var migrater = require('weex-vue-migration')
var result = migrater.transform(weexCode)
params:
weexCode: string, weex DSL code
returns:
result: object, resultcontent: string, vue DSL codeelements: array, list of elements objectname: string, name of<element>content: string, vue DSL code of<element>
License
GPL-3.0
References
Mission:
- https://github.com/weexteam/weex-vue-framework/issues/9
- https://github.com/weexteam/weex-vue-framework/issues/4
Babel plugins:
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.2.5 | GPL-3.0 | |
| 0.2.4 | GPL-3.0 | |
| 0.2.3 | GPL-3.0 | |
| 0.2.2 | GPL-3.0 | |
| 0.2.1 | GPL-3.0 | |
| 0.2.0 | GPL-3.0 | |
| 0.1.4 | GPL-3.0 | |
| 0.1.3 | GPL-3.0 | |
| 0.1.2 | GPL-3.0 | |
| 0.1.1 | GPL-3.0 | |
| 0.1.0 | GPL-3.0 |