vue3.x 项目使用element-plus 自动按需导入 使用v-loading报错 无法找到样式 element-plus/es/components/loading-directive/sty
element-plus版本: "element-plus": "^2.0.5", "unplugin-auto-import": "^0.6.1", "unplugin-vue-components": "^0.17.21"解决方法使用正则表达式排除loading-directive的样式exclude: new RegExp(/^(?!.*loading-directive).*$/) configureWebpack: config => { // we..