Add Felize.DaisyUI Support with Tailwind CSS v4 Upgrade#668
Open
JackDanna wants to merge 29 commits intoSAFE-Stack:masterfrom
Open
Add Felize.DaisyUI Support with Tailwind CSS v4 Upgrade#668JackDanna wants to merge 29 commits intoSAFE-Stack:masterfrom
JackDanna wants to merge 29 commits intoSAFE-Stack:masterfrom
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.
Open
Contributor
|
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. |
Author
|
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. :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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