F
Filament16mo ago
Wbzy

How to use Livewire Component in Custom Page ?

Im Simply tryna use Livewire component in my filament custom page, but i get (second img) "Livewire page component layout view not found: [components.layouts.app]" (third img) when i try to add "#[Layout('filament-panels::components.layout.index')]" i get "Undefined variable $livewire"
Solution:
im using custom page, i found out the problem was in livewire and already fixed by caleb, i run composer update and it fixed.
Jump to solution
3 Replies
Wbzy
WbzyOP16mo ago
is this possible to do?
Kenneth Sese
Kenneth Sese16mo ago
Why are you adding #[Layout('filament-panels::components.layout.index')]? Filament takes care of the layout for you Are you using the Panel Builder with a custom page?
Solution
Wbzy
Wbzy16mo ago
im using custom page, i found out the problem was in livewire and already fixed by caleb, i run composer update and it fixed.
Want results from more Discord servers?
Add your server