songsiqi / Weex Vue Migration
Licence: gpl-3.0
migration from *.we file to *.vue file
Stars: ✭ 13
Programming Languages
javascript
184084 projects - #8 most used programming language
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, result-
content
: string, vue DSL code -
elements
: array, list of elements object-
name
: 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:
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].