In my vuejs component I have style like this
<style>
.preview-page {
.preview-section {
width: 100%;
}
.logo-section {
text-align: center;
}
}
</style>
Its building fine and showing correct results in browser, but on vscode its showing 2 errors
Do not use empty rulesetscss(emptyRules)
and
} expectedcss(css-rcurlyexpected)

OK, looks like there are two issues being picked up on:
Do not use empty rulesetscss(emptyRules)is a valid complaint, since.preview-page{}contains no styles (although its children do). Add some styles to.preview-pageor suppress the warning if it bothers you.} expectedcss(css-rcurlyexpected)I assume is triggering because you have not definedlang="scss"in your<style>tag. Here is the documentation.