q-router-tab active selection



  • Hi,

    I use a lot of dynamic route matching for SEO purposes.
    So i have a lot of dynamic parameters (slugs) for example in single page product pages.
    eg. /:shop-slug/:category-slug/:product-slug/:id

    In header i have a category menu bar with q-tabs with a specific url pattern.

    I set the exact propery set to false whenever i want to match a url so an item of the category menu obtains an active color.

    But what about when i have a url completely different drom the url in category menu.
    Can i programmatically set active a category item menu?


Log in to reply