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.
3 Replies
Thank you in advance for anyone who tried to help me on this π
can you replace
./resources/views/components/users/is-not-active.blade.php
with ./resources/views/components/**/*.php
And than run npm run build
?@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