Customer-Facing Filament - Tailwind Classes Not Compiling
I've added a Filament Form to my website's frontend. Form works just fine but the tailwind utility classes don't seem to be compiling.
I'm able to override the filament styling in my main css file
But ideally, I'd like the default filament styling to work. What might be wrong in my configuration?
3 Replies
maybe u forgot to run npm run build
Solution
are you importing the filament tailwind preset?
Indeed, I was missing these lines in my
tailwind.config.js
:
https://filamentphp.com/docs/3.x/actions/installation#installing-tailwind-css
Thank you, Dan