Tailwind CSS IntelliSense Restrictions #18556
-
|
I noticed that the Tailwind CSS IntelliSense only works based on the following criteria:
However, Tailwind CSS Intellisense is not working for most of my files since they are not importing Tailwind CSS since I'm using the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Either in your workspace or even globally in VSCode (if you're a TailwindCSS fan), associate .css files with the TailwindCSS language mode like this: {
"files.associations": {
"*.css": "tailwindcss",
"*.scss": "tailwindcss",
},
} |
Beta Was this translation helpful? Give feedback.
Either in your workspace or even globally in VSCode (if you're a TailwindCSS fan), associate .css files with the TailwindCSS language mode like this:
@plugin,@custom-variant,@theme,@utility,@variant,@applyin global.css{ "files.associations": { "*.css": "tailwindcss", "*.scss": "tailwindcss", }, }