Closed gregoryagu closed 11 months ago
If I’m understanding correctly, this is actually intentional - the extension uses Tailwind JIT so the process runs in the background until you manually stop it (similar to VS Hot Reload).
If you meant that the menu item says that the process is active when it actually isn’t, please let me know.
Thanks!
Ok, so I did not realize it might be a background process. But I don't think it is actually running in the background. This is what I see in the Build Window:
Sorry, I am a newbie at this, forgive me if I am missing something obvious.
The Output Extensions window shows no messages.
Sorry if this is a dumb question, but do you have the correct content
path in your tailwind.config.js
? Theoretically, the build process (as it is the official one) should generate the correct dark mode classes as long as that is correct.
Something else you can do is to make sure that the extension is generating the classes in the right file; sometimes it creates a new file <input file name>.output.css
with the correct classes in it.
Please let me know if this resolves the issue!
Ok, I worked with this some more, including setting up a CLI version of Tailwind, and all seems to be working correctly now. I am not sure why it was not working for me earlier.
I do have two suggestions:
Thanks for your help on this!
I made a Video on how to set up and use the extension using VS 22 and Blazor: https://www.youtube.com/watch?v=guJgtQHQwPo
Thanks so much! I really appreciate that. If it’s alright with you, I’ll link the video on the getting started page.
Yes, certainly!! I hope to do more VS / Tailwind videos :)
First off, thanks so much for this extension. I am a newbie in Tailwind, trying to get it up and running in Visual Studio.
I notice that if you use the main menu Build -- > Start Tailwind Build Process, it builds everything normally, and the menu item changes to Sop Tailwind Build Process. However, even after the process is complete, the menu item remains the same. So, the next time I go to the menu item, I click on the Stop, and then it changes to Start, and then I click on it again to start it. This is minor but I just wanted to give you feedback on it.
Cheers