I want to use the current route's name in a v-if statement in a a template. I have read that there is a complicated 3rd party way, but I want something better.
<template v-if="$this.routes.getName() == '/customers'">
//just for illustration
Aucun commentaire:
Enregistrer un commentaire