Tailwind not picking up classes after upgrade to filament v4
I have recently upgraded to filament v4 and with that to tailwind v4, but where v3 used to pick up and include styles in my custom blade components, v4 doesn't seem to do that. For reference here is my configuration:
vite.config.js:
app.css
theme.css (for the panel):
vite.config.js:
app.css
theme.css (for the panel):
Solution
Okay, so I've fixed that too, I'm just leaving the solution here, if you are extending a filament page class and rendering that outside a panel, you have to add the @vite directive to the layout used by the pages (I did this by overwriting the base layout, there might be a better solution)