Extending the Base Filament Layout

Hey All - I have a custom page and I am trying to add to the standard base layout for Filament (I need to add to the page <head>). I created a new component docs-layout and then went to the Filament vendor folder and copied the base layout into the new docs-layout file. Without making any changes, when I load the page I get an error. It says Undefined variable $livewire ... in docs-layout. When I don't copy and paste and simply use
<filament-panels::components.layout.base>

</filament-panels::components.layout.base>
<filament-panels::components.layout.base>

</filament-panels::components.layout.base>
it works fine - but I can't make the changes that I need to. What am I missing here? Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server