title: Fire event when changing route with vue-router before DOM changes?
body: <p>I'm quite new to Vue, hopefully this won't be a very stupid question :)</p>
  
  <p>The <code>beforeDestroy</code> gets fired <strong>after</strong> the DOM structure changes. </p>
  
  <p>I've tried using <code>beforeUpdate</code> and <code>updated</code> events, but none seems to fire before the DOM changes.</p>
  
  <p>Reproduction online: <a href="https://jsfiddle.net/p2c3b10t/18/" rel="nofollow noreferrer">https://jsfiddle.net/p2c3b10t/18/</a> (check the console)</p>