From 3b8bd623c063d36dcc4e41ffd8709bd2400dd527 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Thu, 23 Jan 2025 13:56:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor(app):=20=E9=87=8D=E6=9E=84=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E9=85=8D=E7=BD=AE=E5=92=8C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 colorMode 相关代码 - 删除全局样式文件 - 更新 nuxt 配置: - 添加 runtimeConfig - 更新 css 配置 - 优化 vite构建配置 - 新增 image 模块配置 - 更新路由配置 - 调整组件实现 - 更新环境变量加载方式 --- app/app.vue | 9 +- app/components/AppFooter.vue | 9 +- app/components/x-image/index.vue | 37 +- app/config/index.js | 4 +- app/pages/home/index.vue | 5 +- app/pages/index.vue | 7 + app/styles/default-theme.css | 4 - app/styles/global.css | 14 - app/styles/vars.css | 4 - nuxt.config.js | 213 +++++++---- package.json | 2 +- pnpm-lock.yaml | 623 ++++++++++++++++++++++++++++--- 12 files changed, 759 insertions(+), 172 deletions(-) create mode 100644 app/pages/index.vue delete mode 100644 app/styles/default-theme.css delete mode 100644 app/styles/global.css delete mode 100644 app/styles/vars.css diff --git a/app/app.vue b/app/app.vue index 7325d96..3bcb53c 100644 --- a/app/app.vue +++ b/app/app.vue @@ -1,7 +1,6 @@