Citizen
How do I run Filament's documentation locally to test changes before doing a pull request?
I feel silly asking this, but after I cloned filamentphp/filament and updated the docs, I don't see a better way other than using my IDE's md preview, but that doesn't factor for design and stuff that I want to make sure looks the same without any funky line breaks, etc. It's not a laravel repo so I can't run
php artisan serve
and I tried running npm run dev
but it just builds assets. How do I host this thing locally?4 replies
Is it possible to use Filament 3 without downgrading Tailwind 4 to 3 if no custom themes are used?
I've read the documentation saying that it isn't compatible with Tailwind 4, however, it isn't clear whether this is a general requirement or is a requirement only if you use custom themes. I'm in a pickle because we're using Laravel 12 with FluxUI v2 which the latter requires Tailwind v4. I'm seeing a lot of questions and answers on this front, generally, regarding the use of v3 vs v4 but what I don't see is any questions or answers regarding isolating Filament 3 or using pre-built css and excluding from Vite, etc as an interim solution.
Can I remove my custom themes for now and use pre-built css for Filament and keep my v4 tailwind for Larave's front end?
21 replies
How can I re-use the filament boolean icon in more places?
I'm thinking something like this:
But not just here also other places like generally in the UI. Is there a default component that I can invoke, that way if filament ever changes the icon or colors my checkmark icons will change as well? Hoping to keep things consistent.
3 replies
Panel ->assets() result in 404. What am I missing?
I'm new to Filament and have been following the guide. I got to this point and followed the directions to create a custom css sheet in resources/css/filament-organize.css:
https://filamentphp.com/docs/3.x/panels/configuration#registering-assets-for-a-panel
In my network tab, I get this error:
http://localhost/css/app/filament-organize.css?v=3.2.121.0 404 not found
Sure enough, that file doesn't exist at that path. Do I need to do anything else config-wise to get this to work?
My code:
25 replies