title: Component without template
body: <p>I have a bit of code that makes an api call to a server and returns some JSON. </p>
  
  <p>It did exist as a method in my component but as it is getting a bit long I want to extract it to it's own file</p>
  
  <p>In vuejs what is the best practice here.</p>
  
  <ul>
  <li><p>should it be a component without a template? How would this work?</p></li>
  <li><p>will I just create an es6 module?</p></li>
  </ul>