rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

`defineOptions` macro in `<script setup>`

Open sxzz opened this issue 4 years ago • 0 comments

Summary

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.

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.

sxzz avatar Feb 25 '22 04:02 sxzz