Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I enable tailwind intellsense in Visual Studio 2022 preview?

I tried to add the code below in the *.esproj file

<ItemGroup>
    <None Include="node_modules\tailwindcss\dist\*.css" />
    <None Include="node_modules\@tailwindcss\forms\dist\*.css" />
</ItemGroup>

Visual Studio is able to pick up the default Tailwind CSS, but the IntelliSense does not pick up the additional CSS I defined in the tailwind.config.js.

like image 929
Bowen Avatar asked Nov 15 '25 11:11

Bowen


1 Answers

Now there is an extension for Tailwind CSS Intellisense in Visual Studio 2022.

Here is the github repo: Tailwind CSS VS2022 Support

You can also download it from marketplace: Download From Market Place

Here is the get start guide: Getting Started

Happy Coding...

like image 132
Muhammad Ashar Bhatti Avatar answered Nov 17 '25 09:11

Muhammad Ashar Bhatti