mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-07-04 02:53:28 +08:00
80b9cb15707baa57124ff48947c4d5b6a99ae75a
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%