# Babel Plugin JSX for Vue 3.0 ![test](https://github.com/vueComponent/jsx/workflows/test/badge.svg)[![npm package](https://img.shields.io/npm/v/@ant-design-vue/babel-plugin-jsx.svg?style=flat-square)](https://www.npmjs.com/package/@ant-design-vue/babel-plugin-jsx) To add Vue JSX support. English | [简体中文](./README-zh_CN.md) ## Installation Install the plugin with: ``` npm install @ant-design-vue/babel-plugin-jsx -D npm install @ant-design-vue/babel-helper-vue-transform-on ``` Then add the plugin to .babelrc: ``` { "plugins": ["@ant-design-vue/babel-plugin-jsx"] } ``` ## Usage ### options * transformOn transform `on: { click: xx }` to `onClick: xxx` * compatibleProps compatible with Vue 2.x `{ props, on = {}, attrs, ...rest }` will be transformed to `{ ...props, ...attrs, ...transformOn(on), ...rest }` ## Syntax ### Content functional component ```jsx const App = () =>
``` with render ```jsx const App = { render() { return
Ant Design Vue |
Vant |