It might help us help you, if you show the code that isn't working. Is it vue or react?
Jan 13, 2023
8
Level 1
Slot in persistent Inertia layout
I'm following the guide in https://inertiajs.com/pages#persistent-layouts And I'v placed a named slot in one of the layout components, <TopBar> And I'm then trying to use that named slot from the Inertia page component, but the problem is that the page component does not import the layout, hence it's persistent.
Now how does one use the slot int the (parent) layout component , from a Inertia page? My layout has a <SidePanel> and a <TopBar> and page goes into v-main slot
Please or to participate in this conversation.