From 7461693aa780f8d4d6167b872e753461d788c2b7 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Fri, 29 Nov 2024 16:42:34 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=9C=80=E8=A6=81=E6=8E=92=E9=99=A4Bu?= =?UTF-8?q?tton=E7=BB=84=E4=BB=B6=20=E5=85=A8=E5=B1=80=E5=B7=B2=E7=BB=8F?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=AF=BC=E5=85=A5=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + apps/web-antd/vite.config.mts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a046da06..14e99aa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ **Others** - 角色管理 优化Drawer布局 +- unplugin-vue-components插件(默认未开启) 需要排除Button组件 全局已经默认导入了 # 1.1.2 diff --git a/apps/web-antd/vite.config.mts b/apps/web-antd/vite.config.mts index 0175a9f8..ed01d813 100644 --- a/apps/web-antd/vite.config.mts +++ b/apps/web-antd/vite.config.mts @@ -20,6 +20,8 @@ export default defineConfig(async () => { // dts: './types/components.d.ts', // 输出类型文件 // resolvers: [ // AntDesignVueResolver({ + // // 需要排除Button组件 全局已经默认导入了 + // exclude: ['Button'], // importStyle: false, // css in js // }), // ],