Skip to content

Commit 23514a2

Browse files
authored
Added a link explaining how to use inheritAttrs in normal <script> (#2971) (#2239)
* chore: added a link to inheritAttrs option * fix: fixed closing tag
1 parent 8250bca commit 23514a2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/api/options-misc.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,13 @@
101101

102102
</div>
103103

104-
- **参照** [フォールスルー属性](/guide/components/attrs)
104+
- **参照**
105+
106+
- [フォールスルー属性](/guide/components/attrs)
107+
<div class="composition-api">
108+
109+
- [通常の `<script>` では `inheritAttrs` を使用します](/api/sfc-script-setup.html#usage-alongside-normal-script)
110+
</div>
105111

106112
## components {#components}
107113

0 commit comments

Comments
 (0)