From d28fe21a3df72f2cd32efab8a6bf1e458aad6061 Mon Sep 17 00:00:00 2001 From: zlong <953829746@qq.com> Date: Wed, 20 Nov 2024 11:17:26 +0800 Subject: [PATCH] =?UTF-8?q?add:=E6=96=B0=E5=A2=9E=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index c3ed3e9..158c544 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,6 +14,10 @@ export default defineConfig(({ command, mode }) => { return { plugins: [ vue(), + AutoImport({ + imports:['vue'], + dts:"src/auto-import.d.ts" // 会自动生成此文件 + }), vueDevTools(), AutoImport({ resolvers: [