File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,13 @@ pageClass: rule-details
3
3
sidebarDepth : 0
4
4
title : vue/prefer-use-template-ref
5
5
description : require using `useTemplateRef` instead of `ref` for template refs
6
+ since : v9.31.0
6
7
---
7
8
8
9
# vue/prefer-use-template-ref
9
10
10
11
> require using ` useTemplateRef ` instead of ` ref ` for template refs
11
12
12
- - :exclamation : <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > _ ** This rule has not been released yet.** _ </badge >
13
-
14
13
## :book : Rule Details
15
14
16
15
Vue 3.5 introduced a new way of obtaining template refs via
@@ -65,6 +64,10 @@ This rule skips `ref` template function refs as these should be used to allow cu
65
64
66
65
Nothing.
67
66
67
+ ## :rocket : Version
68
+
69
+ This rule was introduced in eslint-plugin-vue v9.31.0
70
+
68
71
## :mag : Implementation
69
72
70
73
- [ Rule source] ( https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/prefer-use-template-ref.js )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-vue" ,
3
- "version" : " 9.30 .0" ,
3
+ "version" : " 9.31 .0" ,
4
4
"description" : " Official ESLint plugin for Vue.js" ,
5
5
"main" : " lib/index.js" ,
6
6
"types" : " lib/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments