Is it possible to use q-drawer-link without putting parent route every time?
-
I have my route component for most of routes which is
/panel
In drawer I have links to all subroutes and also parent route.
Do I have to put in every link/panel/subrouteName
or can I do it better? -
You can add a method to your VM, something like: getDrawerLink(subroute) which returns ‘/panel/’ + subroute. Then use
:to="getDrawerLink('subrouteName')"
.Be creative