Unknown at rule @tailwindcss(unknownAtRules) #13881
Replies: 8 comments 20 replies
-
It's a warning from VSCode, not explicitly an error. Tailwind should still work regardless. If you really want to get rid of the error though, you could do one of:
|
Beta Was this translation helpful? Give feedback.
-
You can easily fix it by setting up a new language mode, |
Beta Was this translation helpful? Give feedback.
-
Installing Plugin helped me. Thanks Everyone |
Beta Was this translation helpful? Give feedback.
-
Install plugin Post CSS Language Support in VS Code then it'll end |
Beta Was this translation helpful? Give feedback.
-
permanent fix: just add this to your vscode settings.json "files.associations": {
"*.css": "tailwindcss"
}, and if it was helpful, please hit the anwser mark |
Beta Was this translation helpful? Give feedback.
-
Notes:
This approach helps tailor your editor to better support TailwindCSS-specific syntax and features in |
Beta Was this translation helpful? Give feedback.
-
Thank you 😊
…On Fri, 4 Oct 2024, 19:46 Manudev, ***@***.***> wrote:
It's work for me
—
Reply to this email directly, view it on GitHub
<#13881 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYERV27GMLL7X37JLSBSWOTZZ2PKJAVCNFSM6AAAAABJXK2TRWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOBUGQ4TKMY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
You can fix this by setting up a new language mode. 1. Press ctrl + shift + p 2. Click on change language Mode 3. Choose or type Tailwind CSS Also, make sure you are setting language mode when you're currently in index.css file. Hope it helps, thank you! |
Beta Was this translation helpful? Give feedback.
-
I am following all the steps outlined in the installation guide on the Tailwind CSS website. However, I consistently encounter the error shown in the screenshot. While some of the code functions correctly and doesn't completely crash, Tailwind CSS does not produce the expected effects.
I havenot added anything extra code to any file. Just I am just trying to configure tailwind css in my project with default code generated by "npm create vite@latest".
I have used the following commands:
npm create vite@latest
then I entered project name and selected vite for my project
cd
npm i
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
then changed the content of tailwind.config.js file
with :
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
added :
@tailwind base;
@tailwind components;
@tailwind utilities;
in index.css
and I started getting error in my index.css file
Beta Was this translation helpful? Give feedback.
All reactions