From d66951c003cdb36ca6bb6993b3152d8ee653f631 Mon Sep 17 00:00:00 2001 From: zhanghao <774378400@qq.com> Date: Sun, 20 Sep 2026 09:58:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20=E6=B7=BB=E5=8A=A0=20'@cmvr/iot?= =?UTF-8?q?-common'=20=E5=88=AB=E5=90=8D=E5=88=B0=20Vite=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index fd222e9..e5faea0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -39,7 +39,8 @@ export default defineConfig(({ mode, command }) => { // 设置路径 '~': path.resolve(__dirname, './'), // 设置别名 - '@': path.resolve(__dirname, './src') + '@': path.resolve(__dirname, './src'), + '@cmvr/iot-common': path.resolve(__dirname, '../cmvr-iot-common/dist') }, dedupe: ['vue', 'vue-router', 'pinia', 'element-plus', '@element-plus/icons-vue'], // https://cn.vitejs.dev/config/#resolve-extensions