How to Integrate Plugins like 'DaisyUI' with Tailwind CSS v4 #15828
Replies: 5 comments 3 replies
-
The main topic of discussion for v4 + Daisy UI can be found at saadeghi/daisyui#3246. It mentions v4 beta but I believe the documentation there is still relevant. |
Beta Was this translation helpful? Give feedback.
-
actually Daisy UI does have good docs on it, they're just in the beta since that's where the tailwind 4 support will come https://v5.daisyui.com/docs/v5-beta/ |
Beta Was this translation helpful? Give feedback.
-
I was stumped on this but found you can do it directly in your css file |
Beta Was this translation helpful? Give feedback.
-
The new version of daisyui(still beta version) supports tailwindcss v4.0. |
Beta Was this translation helpful? Give feedback.
-
did so, the warning went away |
Beta Was this translation helpful? Give feedback.
-
As we all know, in previous versions, we simply installed the plugin with
npm i daisyui
and required it in thetailwind.config.js
file. However, in version 4, this has changed and it's no longer needed.My question is: How do we use plugins like DaisyUI with Tailwind CSS in the new version? I've searched through the documentation but couldn't find any information on this topic. Even DaisyUI's documentation hasn't addressed this change yet.
Beta Was this translation helpful? Give feedback.
All reactions