tailwind.config.js doesn't take immediate effect #2692
-
Hi, Thanks to the amazing Tailwind team that created this amazing tool! I'm loving it. 🙏🏼 I'm using tailwind in combination with flask. My problem is I couldn't get my configuration behaving in the correct manner in 2 ways.
I checked the styles.css that was outputted every time after I ran npm run build - it did reveal changes I made. However, the effects were never immediate. It is a strange behavior. When I started my project, I followed tailwind's official installation guide to set up tailwind. https://tailwindcss.com/docs/installation Then I found issues as described above, I then followed this guide to set up my env again, added postcss & autoprefixer. https://tailwindcss.com/course/setting-up-tailwind-and-postcss Here is the list of info of my tools and env:
package.json postcss.config.js Thanks for your help in any case! Would love to have a full experience in this powerful & beautiful tool! 🙏🏼 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Renee, This sounds like a caching issue rather than a Tailwind issue. Have a look at this StackOverflow answer to see if it helps: https://stackoverflow.com/questions/61740968/why-does-my-flask-app-not-render-css-if-i-dont-clear-my-cache Best wishes, |
Beta Was this translation helpful? Give feedback.
Hi Renee,
This sounds like a caching issue rather than a Tailwind issue. Have a look at this StackOverflow answer to see if it helps: https://stackoverflow.com/questions/61740968/why-does-my-flask-app-not-render-css-if-i-dont-clear-my-cache
Best wishes,
Martin.