# vuejs/babel-plugin-transform-vue-jsx

babel plugin for vue 2.0 jsx

Repository: https://github.com/vuejs/babel-plugin-transform-vue-jsx
Canonical: https://ross.abutalabs.com/products/babel-plugin-transform-vue-jsx
Language: JavaScript
License Family: other
Last push: 2022-12-06T19:46:31+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3729, "days_push": 1366, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1847, forks 129 (observed 2026-08-28T04:05:43.578880+00:00)

## What it is
A Babel plugin that transpiles JSX syntax into Vue 2.0 render function calls using the h (createElement) function. It allows Vue 2 developers to write component render logic in JSX instead of template syntax.

## Use cases
- write Vue 2 components using JSX instead of templates
- transpile JSX to Vue render functions with Babel
- use JSX in Vue 2 single-file or class-based components
- migrate React-style JSX authoring to Vue 2 projects

## When to choose
- you are on Vue 2 and prefer JSX over template syntax for render functions
- your build already uses Babel with a module bundler like Webpack
- you need fine-grained programmatic control over vnodes

## When to avoid
- you are using Vue 3, which has its own JSX plugin (@vitejs/plugin-vue-jsx)
- you prefer Vue template syntax or don't use Babel
- you need event modifiers like v-on:keyup.enter, which JSX here does not support

## Facets
- artifact type: plugin
- maturity: maintenance
- function: compiler, templating, frontend-framework
- domain: frontend, web-development, compilers
- platform: -
- tags: babel-plugin, vue2, jsx, transpilation, nodejs, javascript

## Member repositories
- vuejs/babel-plugin-transform-vue-jsx (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:43.578880+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:17:51.560133+00:00, confidence not recorded.
  - readme: https://github.com/vuejs/babel-plugin-transform-vue-jsx (fetched 2026-08-28T04:05:43.578880+00:00, sha df419e1f5252)
  - registry_npm: https://registry.npmjs.org/babel-plugin-transform-vue-jsx (fetched 2026-08-29T10:56:33.702042+00:00, sha 952baea2f2de)
- Data as of 2026-08-30T08:39:29.467469+00:00.
