fix: global scss injection error problem (#4014)
This commit is contained in:
@@ -101,7 +101,7 @@ function createCssOptions(injectGlobalScss = true) {
|
||||
const relativePath = relative(root, filepath);
|
||||
// apps下的包注入全局样式
|
||||
if (relativePath.startsWith('apps/')) {
|
||||
return `@import (reference) "@vben/styles/global";\n${content}`;
|
||||
return `@import "@vben/styles/global";\n${content}`;
|
||||
}
|
||||
return content;
|
||||
},
|
||||
|
Reference in New Issue
Block a user