CSS classes are not being compiled
Im trying to apply the class uppercase in a file and doenst work.

14 Replies
Make sure you've setup a custom theme and the dir where the TW classes are included in the custom theme TW config file
e.g:
Ensure they are included in your blade as above, otherwise they won't get compiled if they are added within the resource files.
The test above I did in a "page", but I also test inside a resource and did not work

Ok to clarify... it won't work with ANY none blade file.
And you need a custom theme, since the classes are searched for in blade files.
I usually setup a classes.blade.php in the resources route, and add the classes to an empty div so the compiler finds them easy enough.
In my case, i already setup directly to dir in tailwind.config.js, is that what you mean?

in information.blade.php are you including the uppercase class within a div?
Do you understand how tailwind compiling works?

I thought so, but now I'm not so sure
So if that tailwind class is there then it should be incldued
I suspect you haven't created a custom theme for Filament
Yeah, now i get.
If I want other classes that are not in the filament compilation, I need to have a custom theme .... I didn't understand that because I thought uppercase was a simple class.
Thank you so much for your help.
No problem, uppercase is but we don't sue it in our resources 😉
It will when you add it to the
content
config