Closed
Description
In the content about inheritAttrs, it is only mentioned to use the defineOptions
macro to control the attribute pass-through behavior, but defineOptions
is only available in 3.3+
and cannot be used for lower versions, and there is no obvious indication of other methods. Later, I accidentally found in the content of <script setup> that this can be achieved by declaring an additional <script>
tag, so have you considered linking this content to the See also section of inheritAttrs?
Metadata
Metadata
Assignees
Labels
No labels