q-drawer-link set custom active class not working



  • Don’t know if I am doing it wrong.
    In router.js inside VueRouter constructor:
    linkActiveClass: 'active-drawer-link'
    In App.vue:
    <style> .active-drawer-link { background-color: black; color: white; } </style>

    But when I hit a <q-drawer-link> it inherites the default active class for <router-link> that is router-active-link

    How can i get working my custom class? I want to change that background transparency I don’t like…

    I tried with no success:
    <q-drawer-link active-class="active-drawer-link">


  • Admin

    DrawerLink has no “active-class” prop (yet).


Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.