F
Filamentβ€’8mo ago
Ali

Struggling to Integrate Tailwind CSS into Blade Views

'm aiming to integrate Tailwind CSS into my Blade views within the Filament environment. I've already set up a custom theme and configured my tailwind.config.js file accordingly: Now, the challenge arises when I attempt to apply Tailwind classes within the Blade view located at ./resources/views/components/users/is-not-active.blade.php. Despite having basic HTML structure with Tailwind classes, they aren't being applied as expected. It's worth noting that I've successfully implemented Tailwind classes in a custom "create new user" page for the user resource. So, the issue seems specific to this particular Blade view.
No description
3 Replies
Ali
AliOPβ€’8mo ago
Thank you in advance for anyone who tried to help me on this πŸ™‚
Tieme
Tiemeβ€’8mo ago
can you replace ./resources/views/components/users/is-not-active.blade.php with ./resources/views/components/**/*.php And than run npm run build ?
Ali
AliOPβ€’8mo ago
@Tieme I have alreay tried it, and tried it again right now and it still doesn't work. I don't really know where i messed up
Want results from more Discord servers?
Add your server