Skip to content

Commit 52a629b

Browse files
authored
Update attrs.md
1 parent 5f52929 commit 52a629b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/components/attrs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ If you do **not** want a component to automatically inherit attributes, you can
7979

8080
<div class="composition-api">
8181

82-
If using `<script setup>`, you can use the `defineOptions` macro:
82+
If using `<script setup>`, you can use the [`defineOptions`](/api/sfc-script-setup#defineoptions) macro:
8383

8484
```vue
8585
<script setup>
8686
defineOptions({
87-
inheritAttrs: false,
87+
inheritAttrs: false
8888
})
8989
</script>
9090
```

0 commit comments

Comments
 (0)