You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Tailwind CSS IntelliSense are you using?
v0.9.7
What version of Tailwind CSS are you using?
v3.2.7
What package manager are you using?
npm
What operating system are you using?
Windows10
Tailwind config
Describe your issue
I am running TailwindCSS with Vue/Vite and SASS. When I trying to employ #{!important} along with @apply in my .vue component's style tag, VScode is showing "at-rule or selector expectedscss(css-ruleorselectorexpected)" error at the end. However it's ok to run/compile, so I guess it has something to do with VScode displaying.
/* ✔ works just fine */
<style lang="scss">
.test-ok {
@applym-0;
}
</style>
/* ❌ showing error but ok to run */
<style lang="scss">
.test-error {
@applym-0#{!important};
} //at-rule or selector expectedscss(css-ruleorselectorexpected)
</style>
Hey @horans. Unfortunately this is not something we can control. The only way that I'm aware of to suppress the message is to disable SCSS validation using the scss.validate setting:
What version of Tailwind CSS IntelliSense are you using?
v0.9.7
What version of Tailwind CSS are you using?
v3.2.7
What package manager are you using?
npm
What operating system are you using?
Windows10
Tailwind config
Describe your issue
I am running TailwindCSS with Vue/Vite and SASS. When I trying to employ
#{!important}
along with@apply
in my .vue component's style tag, VScode is showing "at-rule or selector expectedscss(css-ruleorselectorexpected)" error at the end. However it's ok to run/compile, so I guess it has something to do with VScode displaying.possible related issues:
The text was updated successfully, but these errors were encountered: