# Babel Plugin JSX for Vue 3.0 [![CircleCI](https://circleci.com/gh/vuejs/jsx-next.svg?style=svg)](https://circleci.com/gh/vuejs/vue-next) [![npm package](https://img.shields.io/npm/v/@vue/babel-plugin-jsx.svg?style=flat-square)](https://www.npmjs.com/package/@vue/babel-plugin-jsx) To add Vue JSX support. English | [简体中文](/packages/babel-plugin-jsx/README-zh_CN.md) ## Installation Install the plugin with: ```bash npm install @vue/babel-plugin-jsx -D ``` Then add the plugin to .babelrc: ```js { "plugins": ["@vue/babel-plugin-jsx"] } ``` ## Usage ### options #### transformOn Type: `boolean` Default: `false` transform `on: { click: xx }` to `onClick: xxx` #### optimize Type: `boolean` Default: `false` enable optimization or not. It's not recommended to enable it If you are not familiar with Vue 3. #### isCustomElement Type: `(tag: string) => boolean` Default: `undefined` configuring custom elements ## Syntax ### Content functional component ```jsx const App = () =>
Ant Design Vue |
Vant |