baranka
baranka
FFilament
Created by baranka on 10/2/2024 in #❓┊help
How to build filament CSS/assets when using the Panel builder?
I'm a little lost on how exactly the panel builder manages assets. I am trying to add some tailwind utility classes to some elements on my panel pages, but these do not seem to be included in the pre-built filament CSS file that the panel uses. The docs aren't really clear on how I can re-build this file (if at all?). There are some examples on how to scaffold the tailwind and vite config, but these seem to be related to individual concepts liek Actions, rather than panels? For instance, panels do not seem to use the app layout at all... Additonally, I am using Filament as an admin panel, separate from the rest of my site. I don't want to mix up the assets for them. Is there a way to include a CSS file in Filament asset "pipeline" which would be processed by postcss, etc? I also read about https://filamentphp.com/docs/3.x/support/assets but that seems to be geared towards package authors?
3 replies