I am trying to use TailwindCSS combined with SCSS but VSCode always give me an error message when i openning this file, how can i fix it?
my config in postcss file:
module.exports = {
plugins: {
'postcss-import': {},
'tailwindcss/nesting': {},
tailwindcss: {},
autoprefixer: {},
},
};
my config in VSCode settings.json:
{
...
"css.lint.unknownAtRules": "ignore",
"css.lint.emptyRules": "ignore",
"scss.lint.unknownAtRules": "ignore",
"scss.lint.emptyRules": "ignore"
}
I found the cause of the error is #{!important}
in .scss file
"scss.validate": false
in settings.json of .vscode – Hrvatska