r/backtickbot • u/backtickbot • Sep 11 '21
https://np.reddit.com/r/vuejs/comments/plch7l/vueselect_alternative_for_vue_3/hcf9wol/
Very straight forward, just use the vite-plugin-vue2 package instead. (Example from our code base with Tsx/Jsx config)
import { defineConfig } from "vite"
import { createVuePlugin } from "vite-plugin-vue2"
export default defineConfig({ build: {},
plugins: [
createVuePlugin({
jsx: true,
jsxOptions: { injectH: true,
vModel: false,
compositionAPI: true,
}, }), ],
})
0
Upvotes