N
Nuxt10mo ago
plex

Render child elements when parent's v-show is false?

I'm pretty sure I've read about a way to make this work before, but I can't find it anymore. Basically what I want to achieve is that a menu is rendered inside a slideover - but only on mobile viewports. My approach is this: <Slideover v-show="isMobile"> <Menu /> </Slideover> The Menu component should still be rendered if isMobile is false, just without the slideover surrounding it. Is there a way to make this work?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server