title: How to save a route in localstorage from vue-router?
body: <p>I would like to know how to store in <code>LocalStorage</code> a previous route when switching to another route.</p>
  
  <p>I hope to be able to navigate between several routes and not lose the changes made in the previous route.
  Also when closing the browser, keep that last route.</p>