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
lodekiOP2y ago
Any idea?
lodeki
lodekiOP2y ago
Yes I tried the body.start still the same issue and i also have a theme configured.
awcodes
awcodes2y ago
Make sure your local files are included in the content of your tailwind config. Then run a build.
Solution
lodeki
lodeki2y ago
Yeap it worked.Really needed to run a build.Thank you.

Did you find this page helpful?