-
Notifications
You must be signed in to change notification settings - Fork 95
Add Felize.DaisyUI Support with Tailwind CSS v4 Upgrade #668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…all tailwind and daisyUI as plugins
…ss/vite@latest daisyui@latest". Added DaisyUI as a plugin to index.css.
…n 6.0.0-alpha". This has DaisyUI on it now.
|
Thanks for making this PR, apologies for the delay in reviewing it. Joost and I used to do some OSS work as part of our role at Compositional IT but we have both left so haven't had as much time to get on top of these issues. I'll try to find some time soon to get this properly reviewed. |
|
Howdy, I had forgotten to add a line to index.css, that without it much of the more complex tailwind stuff doesn't work. Please see the latest commit. :) |
Add DaisyUI Support to SAFE Template
Overview
This PR adds DaisyUI support to the SAFE template, upgrading from Tailwind CSS v3 to v4 and integrating the DaisyUI component library. This enhancement provides developers with a rich set of pre-built UI components while maintaining the existing SAFE stack architecture.
🚀 Key Changes
Frontend Dependencies
SAFE.Client Package
Configuration Updates
@tailwindcss/viteplugin for better integrationUI Enhancements
Frontend Code
Content/default/src/Client/Index.fs- Added DaisyUI componentsContent/default/src/Client/index.css- Updated for Tailwind v4 with DaisyUI pluginContent/default/src/Client/vite.config.mts- Added Tailwind Vite pluginContent/default/src/Client/Client.fsproj- Updated project dependencies🎨 DaisyUI Integration Benefits