README
vite-plugin-jsx-vue
To add Vue3 directives support in JSX of vite.
Example
import vueJsxPlugin from 'vite-plugin-jsx-vue'
export default {
plugins: [
vueJsxPlugin()
]
}
Syntax
Same as jsx-next.
Vue jsx plugin for Vite
<script type="module">
import vitePluginJsxVue from 'https://cdn.skypack.dev/vite-plugin-jsx-vue';
</script>
To add Vue3 directives support in JSX of vite.
import vueJsxPlugin from 'vite-plugin-jsx-vue'
export default {
plugins: [
vueJsxPlugin()
]
}
Same as jsx-next.