{"id":13560366,"url":"https://github.com/unplugin/unplugin-vue-jsx","last_synced_at":"2025-06-21T03:10:04.299Z","repository":{"id":44336264,"uuid":"512116066","full_name":"unplugin/unplugin-vue-jsx","owner":"unplugin","description":"Vue JSX plugin for both Vue 2 and 3. Support Rollup, Vite, esbuild, Webpack, and more.","archived":false,"fork":false,"pushed_at":"2025-06-16T06:47:01.000Z","size":889,"stargazers_count":30,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T07:44:42.341Z","etag":null,"topics":["esbuild","jsx","rollup","unplugin","vite","vue","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unplugin.png","metadata":{"funding":{"github":"sxzz"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-09T06:53:29.000Z","updated_at":"2025-06-09T07:28:08.000Z","dependencies_parsed_at":"2024-01-25T19:27:23.251Z","dependency_job_id":"ca563634-2f40-4c37-8966-bc0f6df64968","html_url":"https://github.com/unplugin/unplugin-vue-jsx","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"c80fa90cc8bb98e37e54e114b131909992c6aca2"},"previous_names":["unplugin/unplugin-vue-jsx","sxzz/unplugin-vue-jsx"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/unplugin/unplugin-vue-jsx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-vue-jsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-vue-jsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-vue-jsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-vue-jsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unplugin","download_url":"https://codeload.github.com/unplugin/unplugin-vue-jsx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-vue-jsx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261055386,"owners_count":23103227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esbuild","jsx","rollup","unplugin","vite","vue","webpack"],"created_at":"2024-08-01T13:00:42.642Z","updated_at":"2025-06-21T03:09:59.010Z","avatar_url":"https://github.com/unplugin.png","language":"TypeScript","readme":"# unplugin-vue-jsx [![npm](https://img.shields.io/npm/v/unplugin-vue-jsx.svg)](https://npmjs.com/package/unplugin-vue-jsx)\n\n[![Unit Test](https://github.com/unplugin/unplugin-vue-jsx/actions/workflows/unit-test.yml/badge.svg)](https://github.com/unplugin/unplugin-vue-jsx/actions/workflows/unit-test.yml)\n\n- Vue JSX plugin for both Vue 2 and 3.\n- Supports Rollup, Vite, esbuild and Webpack.\n\n## Installation\n\n```bash\nnpm i unplugin-vue-jsx\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eVite\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vite.config.ts\nimport VueJsx from 'unplugin-vue-jsx/vite'\n\nexport default defineConfig({\n  plugins: [VueJsx()],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRollup\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// rollup.config.js\nimport VueJsx from 'unplugin-vue-jsx/rollup'\n\nexport default {\n  plugins: [VueJsx()],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eesbuild\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// esbuild.config.js\nimport { build } from 'esbuild'\n\nbuild({\n  plugins: [require('unplugin-vue-jsx/esbuild')()],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eWebpack\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// webpack.config.js\nmodule.exports = {\n  /* ... */\n  plugins: [require('unplugin-vue-jsx/webpack')()],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eVue CLI\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vue.config.js\nmodule.exports = {\n  configureWebpack: {\n    plugins: [require('unplugin-vue-jsx/webpack')()],\n  },\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n## Configuration\n\nThe following show the default values of the configuration.\n\n```ts\nVueJsx({\n  // filters for transforming targets\n  include: [/\\.[jt]sx?$/],\n  exclude: undefined,\n\n  root: process.cwd(),\n  sourceMap: true,\n\n  /** detect vue version from node_modules automatically */\n  version: 'auto',\n\n  // extra options from babel plugin\n  // Vue 2 options: https://github.com/vuejs/jsx-vue2/tree/dev/packages/babel-preset-jsx#usage\n  // Vue 3 options: https://github.com/vuejs/babel-plugin-jsx#options\n})\n```\n\n## Sponsors\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg'/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## License\n\n[MIT](./LICENSE) License © 2022-PRESENT [三咲智子](https://github.com/sxzz)\n","funding_links":["https://github.com/sponsors/sxzz"],"categories":["TypeScript","webpack"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funplugin%2Funplugin-vue-jsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funplugin%2Funplugin-vue-jsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funplugin%2Funplugin-vue-jsx/lists"}