Replies: 4 comments 4 replies
-
Post CSS is not a dependency of daisyUI anyway. There current alpha release doesn't support plugins yet (as mentioned in the blog post) so we don't know yet how's the API going to be. According to the blog post, it will still be possible to use plugins in using the JS config file as before (in the stable version) And according to Adam's Twitter, it will also be possible to use plugins directly in the CSS file. The syntax probably will be And hopefully (we don't know yet) it will be possible to import CSS files instead of CSS in JS. If so, it will be a big favor for daisyUI because currently the source files are CSS but we have to convert them to CSS in JS to be able to be imported to Tailwind because the current API only accepts CSS in JS. There's no documents or news about how the API for plugins is going to be so we don't know yet. And in the current alpha release plugins are not supported. I'm excited about Tailwind 4 and moving forward to use the CSS approach and it will also be the same direction daisyUI is going to move forward. Let me know if you have any questions |
Beta Was this translation helpful? Give feedback.
-
i have tw v4 example setup so daisy ui devs can start porting over (very easy!) i already commented on another discussion so i'll just link it here: |
Beta Was this translation helpful? Give feedback.
-
Hi all 👋
When you use tailwind.config.(m)js file with tw4 and upload plugins (daisy for example) you need to use tailwind 4 CLI for update configuration ... And then you have already done .css config file with pre configuration for all browsers if you using postcss...(And browserlistrc >2%) So, then tou need optimize your code for production, use lightningcss for minify (with lightningcss CLI) and use it 😎 I do this with 2-3 libraries of Tailwind UI (shadcn for example), and clear code (borders config and other) working well Try to do this with Daisy, and create new release |
Beta Was this translation helpful? Give feedback.
-
I started this discussion for daisyUI 5 alpha: Let me if you have any feedbacks, suggestions, questions |
Beta Was this translation helpful? Give feedback.
-
With the news on tailwind v4 https://tailwindcss.com/blog/tailwindcss-v4-alpha
How will this impact daisy ui?
Will you still need postcss?
Beta Was this translation helpful? Give feedback.
All reactions