From f8a0fb37a237169814d7034c0170aeedecfa8e3c Mon Sep 17 00:00:00 2001 From: Aaron Klinker Date: Sun, 29 Oct 2023 20:24:27 -0500 Subject: [PATCH] fix: Enable Vue SFC auto-imports in `vue` template --- templates/vue/wxt.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/vue/wxt.config.ts b/templates/vue/wxt.config.ts index 09034279..56c84868 100644 --- a/templates/vue/wxt.config.ts +++ b/templates/vue/wxt.config.ts @@ -3,6 +3,11 @@ import vue from '@vitejs/plugin-vue'; // See https://wxt.dev/api/config.html export default defineConfig({ + imports: { + addons: { + vueTemplate: true, + }, + }, vite: () => ({ plugins: [vue()], }),