How can i keep this player running also when switch panels?

->renderHook(
PanelsRenderHook::USER_MENU_BEFORE,
fn(): string => Blade::render('@livewire(\'admin.player\')'),
)
->renderHook(
PanelsRenderHook::USER_MENU_BEFORE,
fn(): string => Blade::render('@livewire(\'admin.player\')'),
)
No description
5 Replies
awcodes
awcodes5mo ago
Laravel
Navigate | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
CasBizz
CasBizzOP5mo ago
But that doesnot work across different panels (i didn't get that to work, because the player should be outside livewire, but no idea where to place it), And no need in a panel , because you can use spa inside one panel as far as i know. 😚
toeknee
toeknee5mo ago
You can't keep it between panels at all since they trigger a page reload
CasBizz
CasBizzOP5mo ago
Do the panels use the same layout page, then it would be possible
toeknee
toeknee5mo ago
Not necessarily because the whole layout can be tweaked per panel. I’d suggest you make a PR if you think it’s possible adding the support
Want results from more Discord servers?
Add your server