From 79f9e13272c00a6d6a4fae7153a89f53257e9099 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 13 二月 2025 09:32:03 +0800 Subject: [PATCH] base --- vite.config.ts | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 31e31f8..b96a538 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -26,6 +26,7 @@ })], imports: ['vue', '@vueuse/core', 'vue-router', 'pinia'], }), + Components({ resolvers: [ ElementPlusResolver({ @@ -40,6 +41,7 @@ open: false, //濡傛灉瀛樺湪鏈湴鏈嶅姟绔彛锛屽皢鍦ㄦ墦鍖呭悗鑷姩灞曠ず }), ], + base:'./', resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)), -- Gitblit v1.9.3