DEV Community

TK
TK

Posted on

1 1

Tailwindcss intellisense doesn't work in tsx file.

I usuary use tailwind css with vscode. But one day, Tailwindcss intellisense doesn't work in tsx file. I configured some settings like below.

// It didn't work.
    "editor.quickSuggestions": {
        "strings": true
    },
    "tailwindCSS.emmetCompletions": true,
    "tailwindCSS.experimental.classRegex": [
        "className=\"([^`]*)" // className="From here
    ],
    "tailwindCSS.includeLanguages": {
        "javascript": "javascript",
        "html": "HTML"
    },

Enter fullscreen mode Exit fullscreen mode

My solution was to delete tailwind.config.js and configure it again!!

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay