Skip to content

@plugin "daisyui"; does not work #492

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

Closed
tbsvttr opened this issue Feb 7, 2025 · 2 comments
Closed

@plugin "daisyui"; does not work #492

tbsvttr opened this issue Feb 7, 2025 · 2 comments

Comments

@tbsvttr
Copy link

tbsvttr commented Feb 7, 2025

While things like @plugin '@tailwindcss/forms'; work @plugin "daisyui"; does not work with error Error: Can't resolve 'daisyui' in '/Users/username/Code/customer/project/app/assets/tailwind'

@patriciomacadden
Copy link
Contributor

Hi @tbsvttr , have you installed daisyui as a npm package? eg npm i -D daisyui@beta, as I think daisyui v5 adds tailwindcss v4 support.

@tbsvttr
Copy link
Author

tbsvttr commented Feb 13, 2025

@tbsvttr As far as I can recall I tried to add daisyui via Importmaps and as a vendor dependency. I wanted to avoid Node (or other dependencies). Ultimately, I switched to https://github.com/rails/cssbundling-rails with bun and everything worked out.

@tbsvttr tbsvttr closed this as completed Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants