F
Filament17mo ago
lodeki

renderHook() component appears unstyled

I'm adding a top banner on the dashboard using the
Filament::registerRenderHook(
'styles.end',
fn (): string => Blade::render('@livewire(\'banner-component\')'),
);
Filament::registerRenderHook(
'styles.end',
fn (): string => Blade::render('@livewire(\'banner-component\')'),
);
.The banner is showing but without the styling.
Solution:
Yeap it worked.Really needed to run a build.Thank you.
Jump to solution
5 Replies
lodeki
lodekiOP17mo ago
Any idea?
lodeki
lodekiOP17mo ago
Yes I tried the body.start still the same issue and i also have a theme configured.
awcodes
awcodes17mo ago
Make sure your local files are included in the content of your tailwind config. Then run a build.
Solution
lodeki
lodeki17mo ago
Yeap it worked.Really needed to run a build.Thank you.
Want results from more Discord servers?
Add your server