diff --git a/vue/vite.config.ts b/vue/vite.config.ts index a8b62ae0..fe2b4b0f 100644 --- a/vue/vite.config.ts +++ b/vue/vite.config.ts @@ -6,7 +6,13 @@ const resolvePath = (str: string) => resolve(__dirname, str); // https://vitejs.dev/config/ export default defineConfig({ - plugins: [vue()], + plugins: [ + vue({ + template: { + compilerOptions: { isCustomElement: (tag) => tag.includes('-') }, + }, + }), + ], build: { lib: { entry: resolvePath('src/lib/index.ts'),