Parser (react.ts)
Resolves default/named exports through memo, forwardRef, and Object.assign; walks setup for useState, useRef, useMemo, useEffect, subcomponents, and verbatim blocks.
Babel parses your TSX; the compiler builds an IR, then prints Vue 3 SFCs—hooks, JSX (lists, conditionals, spreads), and props flow through structured transforms—not regex patches.
Only React (JSX / TSX) → Vue 3 SFC is implemented. Other framework pairs appear on the roadmap only.
Deep dive: Compiler features lists everything the parser and codegen handle today (including className / :class, boolean attrs, effect deps, handler stubs, and subcomponents via h()).
cross-framework convert writes a .vue next to your source (or to --out-dir).convertCode({ from: "react", to: "vue", sourceCode, filename }).website/ (dev server defaults to port 3022; see Playground & HTTP API).Contact: parsajiravand@gmail.com — questions, feedback, or interest in joining the team. See Contact.
| Path | Role |
|---|---|
src/ | Parser, IR, Vue codegen, CLI entry |
website/ | Nuxt playground (not bundled with the npm package) |
docs/ | This VitePress site |