ContextMenu
noxsii opened this issue · comments
noxsi commented
Description
Hey :)
i want to use the ContextMenu Component. But useMouse()
and useWindowScroll()
are not defined ?
Benjamin Canac commented
Oh I see, you're trying to replicate the examples of the ContextMenu
from the documentation right?
You need to import those composables: import { useMouse, useWindowScroll } from '@vueuse/core'
if you haven't installed @vueuse/nuxt
.
I've updated the documentation accordingly, thanks for the report 😊