How to fix Unknown at rule `@tailwindcss(unknownAtRules)` in VS Code

Problem: you include Tailwind in a project like this, but you get the warning Unknown at rule @tailwindcss(unknownAtRules) in VS Code:

Here’s how to fix this.

Open the settings, search for “unknown”, the first result should be the one you’re looking for: CSS > Lint: Unknown At Rules:

Change that to ignore:

Done!

Download my free Programming Ebooks!