docs: import $ui from useNuxtApp

This commit is contained in:
Benjamin Canac
2024-08-04 21:50:38 +02:00
parent 7e37668940
commit 606c7b6567
3 changed files with 4 additions and 0 deletions

View File

@@ -443,6 +443,7 @@ const sectionRef = ref()
const demoRef = ref(null)
const start = ref(0)
const { $ui } = useNuxtApp()
const { height } = useElementSize(demoRef)
const { top } = useElementBounding(sectionRef)
const { y } = useWindowScroll()