title: vue-router - How to get previous page url?
body: <p>I want to get previous page link or url in <code>vue-router</code>. Like a this. How to do it?</p>
  
  <pre><code>const link = this.$router.getPrevLink(); // function is not exist?
  this.$router.push(link);
  </code></pre>
  
  <p>Near concept is <code>this.$router.go(-1)</code>.</p>
  
  <pre><code>this.$router.go(-1);
  </code></pre>