Skip to content

Define functional component in vue2.7 as a function #12966

Open
@Fnxxxxo

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions