title: How can I disable back button on the browser with vue component?
body: <p>My vue component like this :</p>
  
  <pre><code>&lt;template&gt;
      &lt;span class="rating"&gt;
          ...
      &lt;/span&gt;
  &lt;/template&gt;
  &lt;script&gt;
      export default {
          props: {
              'star': null
          }, 
          ...
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>If the component is running I want to disable button back in the browser. So the user can not go back to the previous page</p>
  
  <p>How can I do it?</p>