Define functional component in vue2.7 as a function #12966
Open
Description
What problem does this feature solve?
Define functional components with the same format as Vue3. This make the future migration easier.
What does the proposed API look like?
Juse use the function format used by Vue3. Then export the FunctionalComponent
type.
Metadata
Assignees
Labels
No labels