F
Filament8mo ago
Kurja

Changing the base layout for panel

Hi, is there a way to change the base layout for the panel provider? I'm using both inertia and filament in my project and i need to disable livewire config "inject_assets" because it makes my inertia tests fail, but this makes the filament panel to not load the livewire scripts (this should be done manually using @livewireScripts, but the filament panel is apparently ignoring my app.blade.php layout in resources/views/components/layouts
Solution:
made it work by using the render hooks in the FilamentAppProvider
Jump to solution
2 Replies
Solution
Kurja
Kurja8mo ago
made it work by using the render hooks in the FilamentAppProvider
Dennis Koch
Dennis Koch8mo ago
Definitely the better way