Replies: 5 comments 9 replies
-
You may need to set However, |
Beta Was this translation helpful? Give feedback.
-
You can probably just use Some code to poke around at: |
Beta Was this translation helpful? Give feedback.
-
Hey @MickL, did you find a solution? I'm looking for the same thing after upgrading to v4. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I solved this by adding the following line to my global css file
|
Beta Was this translation helpful? Give feedback.
-
@adamwathan Did anything change over the course of this year? May we have capabilities to use Tailwind programmatically now or is it better documented? I saw over at resend/react-email that they are using Tailwind 4. Tailwind seems to expose a But what they do apparently is scan the dom nodes themself and add all used classes manually: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use Tailwind 4 in my backend code to create dynamic results. Unfortunately I cant make it work, this is what I go so far:
For
content
it tells mecontent does not exist in type PluginOptions
but the bigger problem is it throws an error because it cant find the css@import "tailwindcss"
:Stackblitz: https://stackblitz.com/edit/github-u6vrxc-dfzdtw4o?file=routes%2Findex.ts
Beta Was this translation helpful? Give feedback.
All reactions