Introduce a macro in script setup, defineOptions, to use Options API in script setup, specifically to be able to set name, inheritAttrs and render in script setup.
Important: Do NOT comment on this PR. Please use the discussion thread linked above to provide feedback, as it provides branched discussions that are easier to follow. This also makes the edit history of the PR clearer.
Summary
Introduce a macro in script setup,
defineOptions
, to use Options API inscript setup
, specifically to be able to setname
,inheritAttrs
andrender
inscript setup
.Links
Important: Do NOT comment on this PR. Please use the discussion thread linked above to provide feedback, as it provides branched discussions that are easier to follow. This also makes the edit history of the PR clearer.