Executing TailwindCSS in InfolistBuilder / custom entry.

Hey guys I have installed the panel builder and I have the following infolist: public static function infolist(Infolist $infolist): Infolist { return $infolist->schema([ Section::make() ->schema([ Fieldset::make('General Information') ->columns(3) ->schema([ ViewEntry::make('media') ->view('filament.infolists.location.media-display'), TextEntry::make('name'), TextEntry::make('phone_number'), TextEntry::make('email'), TextEntry::make('address') ->columnSpan(['md' => 2]), TextEntry::make('website'), TextEntry::make('description') ->columnSpanFull(), ]), ]) ]); } the problem comes when I am implementing the ViewEntry. For some reason the blade is not executing the tailwind css. How can I resolve this issue?
3 Replies
StephaneGadzhev
StephaneGadzhevOP5mo ago
So basically if I want to use tailwindcss for custom element I need to add it as a theme?
LeandroFerreira
LeandroFerreira5mo ago
yep
Want results from more Discord servers?
Add your server