Filament admin is redirecting back to the same page.
When I press Login, it sends me back to that same page without any message. It returns 200 status code and then just displays the same page.
Also, the spinner is showing. I probably missed something when installing. Anyone have any idea?
Solution:Jump to solution
```php
FilamentView::registerRenderHook(
'panels::head.end',
fn (): string => Blade::render('@livewireStyles'),
);...
6 Replies
Hm seems like livewire & alpine isn't loaded on that page
inject_assets === false
for me. It works when enabling that option. Is there a way to use Panel builder without that option?Solution
Ok managed to do something with render hooks
Something else is going on. You shouldn’t need to do any of this.
Well yea if
inject_assets
is enabled it all works. It seems like Filament relies on that optionYep. Panels use injection since it’s the livewire default.
You shouldn’t need to do the filament styles and scripts though. They are already part of the base blade layout.
Makes sense, thanks 👍