Transforms Weex *.we DSL files into Vue *.vue single-file components. Version 0.2.5 is the latest release (no active update cadence, appears unmaintained since 2018). It provides both a CLI tool (`weex-vue-migrate`) and a programmatic API (`transform`). Unlike manual migration, it automates conversion of Weex-specific syntax (e.g., `<template>`, `<style>`, `<element>`) to Vue-compatible code. Limited to basic transformations; does not handle complex bindings or third-party module compatibility.
npm install weex-vue-migrationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Converts a Weex `.we` file content to Vue `.vue` file content using the Node.js API.
Consider manual migration or use alternative tools like weex-vue-transformer.
Review output and manually fix edge cases.
Post-process output to add Vue component registrations.
Use `const { transform } = require('weex-vue-migration');` or `const migrater = require('weex-vue-migration'); migrater.transform(code);`.Verify the file path or provide full path to `.we` file.