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 isrouter-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">
-
DrawerLink has no “active-class” prop (yet).