What IDE editor are you using?
Vite and Tailwind, how to build in Chrome?
Hi There,
This is a very cheeky question to ask on Laracasts forum as it's about Tailwind, but I'm using Laravel and Vite so I'm hoping you can help!
I'm very new still to Laravel, Tailwind and Vite, but loving them all so far.
The problem I'm having is that I was using tailwind from a CDN whilst developing a trial site. This meant that in Chrome I could inspect an element and I could apply different tailwind classes to work out what I liked the look of.
Now I'm using Vite and I've installed Tailwind as part of a Breeze install, the classes aren't available in Chrome for me to test out anymore. Is there a way to configure Vite in my dev environment so I can still play with all the classes in Chrome?
Equally, I quite understand that this might be viewed as a horrible way to be designing e.g. in the browser and I'm open to better suggestions!
Thanks for your support.
Tailwind 1 worked like thatb(with vite or mix). Version 2 only adds what you are using. Maybe beyondcode has something that can do what you want. They made a few tailwind tools
My own way of working is the page on one screen and react on the other. Vite then magically updates the page on save
Edit : indeed they had exactly that https://devtoolsfortailwind.com/
Please or to participate in this conversation.