title: Convert from jQuery to Vue?
body: <p>I would like to transform the following code which is in javascript:</p>
  
  <pre><code>$('a').click(function() {
      $(this).find('i').toggleClass('fa-heartbeat');
  });
  </code></pre>
  
  <p>in vue.js.</p>
  
  <p>function name: like</p>
  
  <p>javascript test: <a href="https://jsfiddle.net/jsk590ep/" rel="nofollow noreferrer">https://jsfiddle.net/jsk590ep/</a></p>