Skip to content

Versioned custom component support #2046

@octref

Description

@octref

Today I noticed that vue-router added aria-current-value attribute to <router-link>.

This is added in 3.2.0: https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md#320-2020-05-19

I should allow a key since with a semver value. If the aria-current-value has since: "3.2.0", then aria-current-value will only be completed if vue-router dependency in pacakge.json is >=3.2.0.

Another idea is to publish the tags.json together with: https://vuejs.github.io/vetur/framework.html. But that's one more file published with vue-router.

@posva What's your opinion?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions