F
Filamentβ€’5d ago
frame

Filament blade components on a non-panel page

Maybe I'm missing something but if I render something like <x-filament::badge color="success"> in a regular livewire component how do I get the colors to work? πŸ€” The rendered badge tries to refer to text-custom-600 etc. but how do I import them?
3 Replies
bernhard
bernhardβ€’5d ago
What do you mean with "import them"? Do you mean "how to get text-custom-600 into your css" or what? Have you properly configured tailwind? Added the './vendor/filament/**/*.blade.php'' to you content array in your apps tailwind.config.js
Mohamed Ayaou
Mohamed Ayaouβ€’4d ago
in the installation of each package in the docs (in case you wanna use only a packge) there is an instructions on who to get the filament scripts and styles in the non-filament page: https://filamentphp.com/docs/3.x/forms/installation
Mohamed Ayaou
Mohamed Ayaouβ€’4d ago
@filamentStyles and @filamentScripts fro example

Did you find this page helpful?