A high-performance JSX compiler for Vue 3 that implements Vapor Mode, providing a Rust-based (Oxc) transformer that is 35-50× faster than Babel alternatives like @vue/babel-plugin-jsx. Current stable version is 3.2.14. Fully supports Vue built-in directives (v-if, v-for, v-model, etc.) and Vue macros (defineProps, defineEmits) in JSX syntax. Integrates with Vite, Rollup, Webpack, Nuxt, esbuild, and Vue CLI. Includes a Volar plugin for TypeScript support via TS Macro (VSCode) and an ESLint plugin. Peer dependency on Vue 3+. Actively maintained under the vuejs GitHub organization.
npm install vue-jsx-vaporNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic Vite setup with vue-jsx-vapor plugin and a simple counter component using JSX render function.
Update all imports to use full subpath: 'vue-jsx-vapor/vite', 'vue-jsx-vapor/rollup', etc.
Remove @vue/babel-plugin-jsx from babel config. This plugin replaces it entirely.
Test your v-model usage thoroughly, especially custom components with modelValue and @update:modelValue.
Install 'TS Macro' VS Code extension to enable type checking of macros like defineProps in JSX.
Ensure Nuxt project uses Vite (Nuxt 3 or Nuxt 2 with @nuxtjs/vite module).
Upgrade Vite to version 3 or later.
Change import to 'vue-jsx-vapor/vite'.
Check that the plugin is correctly added to vite.config.ts or other build tool configuration.
No dependency data recorded yet.