liect

Results 12 comments of liect

This problem has bothered me for a long time. When I use UnoCSS and UI component library together, UnoCSS can correctly override UI component library styles in development environment, but...

> 调整一下引用顺序呢,看起来应该不是组件库的问题 @pengYYYYY ```typescript import "uno.css"; ``` ***在min.ts中调整到UnoCSS调整到最后确实会在开发环境中解决这个问题,但是生产产物依旧存在*** > 我不确定是不是Vite的这个问题,dev is A -> B -> C, prod is A -> (B + C),感觉应该是😂 > vitejs/vite#9949 naive ui 在编译产物中的css依旧会单独出现在head标签中 ![微信截图_20220919134710](https://user-images.githubusercontent.com/16420004/190956322-32063666-8081-4faf-8a7a-5a5abf4fff7f.png) 而Tdesign在开发时样式时单独在head中的,生产产物似乎又和页面组件的CSS打包在了一起...

@pengYYYYY 我发现我调整import顺序之所以生效的原因也很奇怪 > main.ts ```typescript import 'tdesign-vue-next/es/style/index.css'; import './styles/base.css'; // Router import { Router } from '/@/router'; // UnoCSS在这个文件之后就可以在开发环境中生效 import "@/global"; // UnoCSS import 'uno.css'; ``` > global.ts 在这个文件中导入了MessagePlugin ,测试发现,tdesgin在这里会导入所有的样式文件,然后按照顺序unocss的样式在之后导入了,所以才生效了...

希望Tabs组件增加extra插槽 例如: ![微信截图_20220907102804](https://user-images.githubusercontent.com/16420004/188775215-c4fcab47-2f88-4ca7-b49e-96f0cf63940a.png) ![微信截图_20220907102815](https://user-images.githubusercontent.com/16420004/188775223-f1797d74-8ed3-4d84-b73c-8f8288a63ada.png)

> Drawer抽屉可以提供和Dialog对话框一样的插件函数调用方式嘛 +1 Me too

3 权限数据理应由后台提供, 前端负责交互和渲染

可以通过`destroyOnClose`控制 ![image](https://github.com/Tencent/tdesign-vue/assets/16420004/9cbf3147-2138-49a4-9e61-7502cf5f1125)