FilamentF
Filament2y 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.
image.png
Was this page helpful?