Topic: MDB Vue - Side Nav
lgmaxim31 free asked 4 years ago
I want to add an action on data in the side nav, but i can only parse the URL.
{ name: "Dashboard", to: "dashboard", icon: "tachometer-alt", },
i wish to have
{ name: "Dashboard", to: method() icon: "tachometer-alt", },
or
i wish to have
{ name: "Dashboard", to: link via Router.name icon: "tachometer-alt", },
lgmaxim31 free answered 4 years ago
The solution is :
{ name : "Dashboard", to : router.resolve({name : 'dashboard'}).href, icon: "home" },
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 6.7.1
- Device: macbook pro 16
- Browser: every
- OS: mac os
- Provided sample code: No
- Provided link: No