arco-design-pro-vue
arco-design-pro-vue copied to clipboard
开发时候样式正常,打包后样式顺序有误或样式文件多了一份
- [x] I'm sure this does not appear in the issue list of the repository
基本信息
- 依赖包名 及 版本: [email protected]
- 框架版本: vue ^3.2.31
- 浏览器版本: chrome100.0.4896.127
- 复现地址: https://github.com/
预期结果
全局样式应覆盖框架样式
复现步骤
新建一个pro项目,直接打包即可
全局样式文件global.less
main.ts样式导入顺序
打包后样式被覆盖,似乎多出了一份样式
@Sanbolee hi 看了一下。发现这个问题和 unplugin-vue-components 这个按需加载插件有关。你可以去它下面提一下issue。如果影响到打包。可以在打包配置里把相关插件注释禁用即可。