# Babel Preset JSX for Vue 3.0 To add Vue JSX support. ## Syntax ### Content functional component ```jsx const App = () =>
``` with render ```jsx const App = { render() { return
Vue 3.0
} } ``` ```jsx const App = defineComponent(() => { const count = ref(0); const inc = () => { count.value++; }; return () => (
{count.value}
) }) ``` fragment ```jsx const App = () => ( <> I'm Fragment ) ``` ### Attributes/Props ```jsx const App = () => ``` with a dynamic binding: ```jsx const placeholderText = 'email' const App = () => ( ) ``` ## Compatibility This repo is only compatible with: - **Babel 7+** - **Vue 3+**