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.
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...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With