Skip to content

Named routes support for Menu Components #594

Closed
@guillaume-blz

Description

@guillaume-blz

Is it possible to make fully compatible menu items with named route? Doc: https://router.vuejs.org/guide/essentials/named-routes.html

Actually isActive method of the TabMenu component check only with the string path declaration.

Example:

const items = [
  {
    label: 'Dashboard',
    to: { name: 'dashboard' },
  },
  {
    label: 'Post',
    to: { name: 'post', params: { id: 1570 } },
  },
];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementIssue contains an enhancement related to a specific component. Additional functionality has been add

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions