diff --git a/src/guide/essentials/template-refs.md b/src/guide/essentials/template-refs.md index f613c2ab66..8db405a842 100644 --- a/src/guide/essentials/template-refs.md +++ b/src/guide/essentials/template-refs.md @@ -148,6 +148,8 @@ onMounted(() => console.log(itemRefs.value))
Usage before 3.5 +In versions before 3.5 where `useTemplateRef()` was not introduced, we need to declare a ref with a name that matches the template ref attribute's value. The ref should also contain an array value: + ```vue