Skip to content

Commit 073bcbe

Browse files
authored
fix: add import of useTemplateRef.
#2991 (comment)
1 parent 62db3ba commit 073bcbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/built-in-special-attributes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Denotes a [template ref](/guide/essentials/template-refs).
5858

5959
```vue
6060
<script setup>
61-
import { ref } from 'vue'
61+
import { useTemplateRef } from 'vue'
6262
6363
const pRef = useTemplateRef('p')
6464
</script>

0 commit comments

Comments
 (0)