Replies: 6 comments
-
|
Try to pin down all tailwindcss packages (tailwindcss, tailwindcss/vite, tailwindcss/postcss, ...) you import to |
Beta Was this translation helpful? Give feedback.
-
|
I am using "tailwindcss": "^3.2.1", based on laravel 10, you mean I should try to upgrade it to 4.1.14? |
Beta Was this translation helpful? Give feedback.
-
|
No, of course no :). Ignore my message, I didn't realize you are using daisyUI v4 |
Beta Was this translation helpful? Give feedback.
-
|
sorry, I didnt mention daisyUI version, I am using "daisyui": "^5.3.8", i think it is latest version |
Beta Was this translation helpful? Give feedback.
-
|
Ah, that solves the problem :) |
Beta Was this translation helpful? Give feedback.
-
|
you are right, thats mismatched version solved for me. ty |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using daisyUI with laravel. I have buttons using btn-primary btn-outline, tooltip, they are working fine yesterday but today suddenly they are broken (some of them maybe) because btn-warning btn-info display correct background color. I am not sure why.

on the ss, the btn-primary here works but the text is black, should be white then other btn-primary doesnt have background color at all

why only some of them working? any ideas whats wrong here?
I tried restart npm run dev no luck. npm run build also produce broken styling
here is another page, how the buttons look like, first button correctly displayed, the others broken. button is working only styling is broken

the code for the buttons on the screenshots
my tailwind.config
Beta Was this translation helpful? Give feedback.
All reactions