vite-svelte-jsx
v1.1.0
Published
Provides Svelte JSX & TSX support.
Downloads
1
Readme
vite-svelte-jsx
Provides Svelte JSX & TSX support.
// vite.config.js
import svelteJsx from 'vite-svelte-jsx'
export default {
plugins: [
svelteJsx({
// options are passed on to @vue/babel-plugin-jsx
})
]
}
Options
How to use
This plugin uses svelte-jsx under the hood.
Check the svelte-jsx documentation to check how to write svelte jsx code.