Skip to content

Commit 34ec584

Browse files
authored
Update template-refs.md (vuejs#1450)
Remove unreasonable `<script setup>` in `options-api`
1 parent 24c0cf1 commit 34ec584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/template-refs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ onMounted(() => {
3838
The resulting ref is exposed on `this.$refs`:
3939

4040
```vue
41-
<script setup>
41+
<script>
4242
export default {
4343
mounted() {
4444
this.$refs.input.focus()

0 commit comments

Comments
 (0)