Filament v3 dinamic widgets cards
Hello, i
m trying to build into a resource a widget with some dinamic cards (this dinamic cards are some kind of status of some servers). The number of servers is somehow dinamic. At the start let
s say it can be only 1 server, but after i can create more. These cards i want to corespond to number of server and the status of server, if is on or off. The part with checking server if is on or of is done, but i need to display some cards, let`s say 3 cards in a row. My first approach is to display a tailwind grid base on number of server, but somehow the tailwind for admini is not rebuild when i run npm run buil.
<div class="grid grid-cols-4 gap-4">
<div>Server 01</div>
<div>Server 02</div>
<div>Server 03</div>
<div>Server 04</div>
</div>Solution:Jump to solution
somehow the tailwind for admini is not rebuild when i run npm run buildHave you configured the build to know which pages to scan for these features you're adding? So that the css purge doesn't reject the parts you're using?...
2 Replies
Solution
somehow the tailwind for admini is not rebuild when i run npm run buildHave you configured the build to know which pages to scan for these features you're adding? So that the css purge doesn't reject the parts you're using?
thanks, i manage in the end to have the css as i wanted. thanks