Skip to content

Commit 207be11

Browse files
authored
Add missing defineExpose import
1 parent 051d926 commit 207be11

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
@@ -222,7 +222,7 @@ An exception here is that components using `<script setup>` are **private by def
222222

223223
```vue
224224
<script setup>
225-
import { ref } from 'vue'
225+
import { defineExpose, ref } from 'vue'
226226
227227
const a = 1
228228
const b = ref(2)

0 commit comments

Comments
 (0)