mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-07-02 01:53:28 +08:00
c1a26926c977a052f011b8e27eff10af80a14c02
Babel Preset JSX for Vue 3.0
To add Vue JSX support.
Syntax
functional component
const App = () => <div></div>
with setup render
const App = defineComponent(() => {
const count = ref(0);
return () => (
<div>
{count.value}
</div>
)
})
Languages
TypeScript
97.6%
CSS
1.6%
HTML
0.5%
JavaScript
0.3%