Skip to content

Docs: add defineSlots to the component and use vue-component-meta data in parser #1391

@mlmoravek

Description

@mlmoravek

Description

Currently, slots are documented by a comment above them in the template. This is inconvenient when the slot is used multiple times. It is also susceptible to misdefinitions.

A more suitable approach would be to use defineSlots with the relevant jsDocs for the slot definitions.
This would also allow to use the transpiled data from vue-component-meta for the documentation creation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions