title: Structuring a Vue + Vuex project
body: <p>I am kind of confused here on where to place my global functions. In a lot of examples a main.js file points to an app component and this is placed somewhere within the html. This workflow would be fine for me If I were to simply contain all my logic within this app component. But I am combining components with Laravel functionality so this does not work for me.</p>
  
  <p>Currently my main.js file contains a bunch of methods that I need to have access from anywhere in my app. These methods don't contain any broadcasting events so they can effectively be placed anywhere as long as they get a vue-resource instance.</p>
  
  <p>My main.js file:</p>
  
  <p><a href="https://github.com/stephan-v/BeerQuest/blob/develop/resources/assets/js/main.js">https://github.com/stephan-v/BeerQuest/blob/develop/resources/assets/js/main.js</a></p>
  
  <p>Hopefully somebody can tell me where I could place my friendship methods if I were to use vuex or in general since this does not seem like best practice at all.</p>
  
  <p>Thank you.</p>