Replies: 4 comments 1 reply
-
Hi, did you figure it out? I have the same issues. |
Beta Was this translation helpful? Give feedback.
-
Has anyone been able to get Tailwind v4 working in Gatsby? |
Beta Was this translation helpful? Give feedback.
-
Did you try the upgrade tool? It moved the contents in my |
Beta Was this translation helpful? Give feedback.
-
It ended up being a combination of needing to use @reference in all my CSS modules and switching from using @screen to @variant. Both of these were covered in the upgrade notes, so I just needed to dig deeper. |
Beta Was this translation helpful? Give feedback.
-
I followed the new instructions on installing tailwindcss v4 with postcss, but got no luck with Gatsby. I see no changes in my UI when I declare a for example text-4xl className to my H1. What can I improve?
Executed:
npm install tailwindcss @tailwindcss/postcss postcss
Added:
postcss.config.mjs
imported
@import "tailwindcss"; on my index.css
My index.js imports:
import "../styles/index.css";
Run
gatsby-develop
But it didn't worked ...
Beta Was this translation helpful? Give feedback.
All reactions