show changes with vite
I see i can include a custom stylesheet, but this would require me to build each time i make a change. I'm not sure how to do this.
I have a modal with a custom view, and i'd like to use tailwindcss and see the changes directly when Vite is running, but i can only find on how to include a processed css file
I have a modal with a custom view, and i'd like to use tailwindcss and see the changes directly when Vite is running, but i can only find on how to include a processed css file
Solution
in your vite inside the defineConfig you can include the custom css and some folder path whenever there is a changes of file in that path it will refresh the page with new changes: