title: How to store previous page even if I refresh the page in Vue
body: <p>I wanted to store previous page although users refresh the page. I used</p>
  <pre><code>  beforeRouteEnter(to, from, next) {
      next(vm =&gt; {
        vm.prevRoute = from
      })
    },
  </code></pre>
  <p>to store <code>this.prevRoute.path</code> into Data. However, I realized once I refresh the current page, my path is gone. I wonder if there is anyway I can restore the previous page.</p>