You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code is written to close when the route changes, but
If the page of nuxtContent changes, the route change event does not occur.
Additional code is required, such as:
const{ page }=useContent()watch([page],close)
Even if I call useMenu().close() directly, it does not close the menu.
This is because it only changes the value of ref<boolean> and not the show value of the actual AppHeaderDialog component.
The text was updated successfully, but these errors were encountered:
https://github.com/nuxt-themes/docus/blob/main/plugins/menu.ts#L15
The code is written to close when the route changes, but
If the page of nuxtContent changes, the route change event does not occur.
Additional code is required, such as:
Even if I call
useMenu().close()
directly, it does not close the menu.This is because it only changes the value of
ref<boolean>
and not the show value of the actual AppHeaderDialog component.The text was updated successfully, but these errors were encountered: