Is it possible to retrieve the current route name in a controller? I have attempted using this.route, this.currentRoute, and this._routerRoot, but none of them seem to work.
computed: {
currentRoute:{
get(){
console.log(this.__routerRoot);
}
},
}
If anyone knows how to obtain the router name, your assistance would be greatly appreciated. Thank you.