Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into offline-icon

This commit is contained in:
dap
2024-11-08 07:54:57 +08:00
8 changed files with 19 additions and 14 deletions

View File

@@ -109,7 +109,7 @@ function createCssOptions(injectGlobalScss = true) {
const relativePath = relative(root, filepath);
// apps下的包注入全局样式
if (relativePath.startsWith(`apps${path.sep}`)) {
return `@import "@vben/styles/global";\n${content}`;
return `@use "@vben/styles/global" as *;\n${content}`;
}
return content;
},