the tailwinds at-rules error #19182
Replies: 3 comments 2 replies
-
|
If you are using VSCode, you could look at installing the Tailwind CSS IntelliSense VSCode plugin and then:
Otherwise, you could set |
Beta Was this translation helpful? Give feedback.
-
|
it's not a tailwind error, it's a vscode thing. vscode's css checker doesn't know the the real fix is to install the tailwind css intellisense plugin. it makes vscode understand the syntax and gives you autocomplete. or if u dont wanna do that, just turn off the error in your vscode "css.lint.unknownAtRules": "ignore"just install the plugin tho, it's way better. |
Beta Was this translation helpful? Give feedback.
-
|
It's important to note that the VSCode plugin is essential:
But starting from v4, you don't even need |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I made an vite react app with js and installed tailwindcss and postcss it has done smoothly with no error i also checked both config file and json file . nothing is broken BUT when I add these in index.css
@tailwind base;
@tailwind components;
@tailwind utilities;
it is throwing unknown at-rule error
how to fix it
Beta Was this translation helpful? Give feedback.
All reactions