NuxtN
Nuxt8mo ago
5 replies
How Bizarre

NuxtUI: Close the USlideover when clicking on a link from the UNavigationMenu inside the USlideover

Guys, I need some help!

How do I close the USlideover when I click on the link in the UNavigationMenu, which is placed inside the #body
slot of the USlideover?

<USlideover side="left">
  <UButton icon="i-heroicons-bars-3" size="md" variant="ghost" />

  <template #body>
    <UNavigationMenu trailing-icon="i-heroicons-plus" orientation="vertical" :items="items" />
  </template>
</USlideover>
Was this page helpful?