1- install Tailwind CSS IntelliSense extension
2- create this file .vscode/settings.json
3- copy paste this inside of settings.json
{
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
]
}
you're done!
I just can't get it to work!