weex-vue-migration

migration from *.we file to *.vue file
565 13
Install
npm install weex-vue-migration
Latest Version:0.2.5
License:GPL-3.0
Last Updated:Mar 4, 2018
Links: GitHub  ·  npm
Maintainer: songsiqi

weex-vue-migration

NPM version Build status Test coverage Downloads

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:

Babel plugins:

Related Packages

mgtv-lightapp-kdui

芒果轻应用UI组件库

457
bui-weex

UI Component for weex framework

5,278
wov

weex ui components

883
niux-weex

UI Component for weex framework

375 0
weex-vue-precompiler

a precompiler for weex-vue-render.

7,561

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