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 // }), // ],