title: How to get current name of route in Vue?
body: <p>I want to get the name of the current route of vue-router, i have a component menu with navigation to another componentes, so i want to dispaly the name of the current route.
  I have this:</p>
  
  <pre><code>created(){
      this.currentRoute;
      //this.nombreRuta = this.$route.name;
  },
  computed:{
      currentRoute:{
          get(){
              this.nombreRuta = this.$route.name;
          }
      }
  }
  </code></pre>
  
  <p>But the label of the name of the route does not change, the label only show the name of the first loaded route.
  Thank You </p>
  
  <p><strong>EDIT:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/7hNhn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7hNhn.png" alt="enter image description here"></a></p>
  
  <p>Image to show what i want</p>