Getting the name of the currently active layout inside a component
I want to get the name of the current active layout in some component. So that I can do things like
if (layout === 'xxx') { ... }
.
Since I am defining it in definePageMeta
in the page's component, maybe there is a composable that I can use to retrieve the layout name inside a child component.0 Replies