F
Filamentβ€’4w ago
Skrypt

Filament Blade Components in non-filament frontend

I did add @FilamentStyles and @FilamentScripts to my layout, I have everything set in vite.config.js correctly, I load the filament preset in my tailwind config but whatever I do, filament styles still don't load on the frontend. My public/filament/support.css is very small and doesn't include things like bg-custom-600 etc. Sadly apart from a list of available blade components, the documentation doesn't really say what you need to set up to make them work in your non-filament frontend work. Anyone encountered a similar issue already? I'm kinda lost πŸ˜„
1 Reply
Skrypt
Skryptβ€’4w ago
Wow... Next level JS autocomplete... not πŸ˜„ in tailwind.config.js I had preset: [...] instead of presets: [...]