Skip to content

Support for inheriting attrs in router-link tag #1678

Closed
@miljan-aleksic

Description

@miljan-aleksic

What problem does this feature solve?

router-link can render a specified tag which could happen to be a component. This component could have its own props but currently there is no way to pass them down. Eg.

// the primary prop will not be passed down to my-button
<router-link tag="my-button" primary></router-link>

Unless I am missing something I would like to request a way to solve this situation.

Metadata

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