vue3-core/playground/setup/vue-plugin.ts

11 lines
245 B
TypeScript
Raw Normal View History

2023-11-30 04:44:28 +08:00
import * as CompilerVapor from '@vue/compiler-vapor'
import * as CompilerSFC from '@vue/compiler-sfc'
import Vue from '@vitejs/plugin-vue'
export const VuePlugin = Vue({
template: {
compiler: CompilerVapor
},
compiler: CompilerSFC
})