We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 934cd9c commit 111043cCopy full SHA for 111043c
packages/language-service/lib/plugins/css.ts
@@ -43,7 +43,7 @@ export function create(): LanguageServicePlugin {
43
if (sourceScript?.generated?.root instanceof VueVirtualCode) {
44
const style = sourceScript.generated.root.sfc.styles[i];
45
const option = sourceScript.generated.root.vueCompilerOptions.experimentalResolveStyleCssClasses;
46
- if (option === 'always' || (option === 'scoped' && style.scoped)) {
+ if (option === 'always' || (option === 'scoped' && style.scoped) || style.module) {
47
regexps.push(cssClassNameReg);
48
}
49
0 commit comments