Skip to content

Add prop: exact-active-class #1360

@caikan

Description

@caikan

What problem does this feature solve?

I want to use both active-class and (exact)active-class at the same time.

What does the proposed API look like?

<router-link
  :to="location"
  active-class="menu__item--active"
  exact-active-class="menu__item--exact-active">

It can replace the original prop exact.

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