title: Vue: Using an external script method after 'requiring' it
body: <p>I am requiring an external script I made with function specific to Square.  I want to be able to call one of the function in my mounted method.  Am I able to access methods of this square.js file since I've now required it for this ?</p>
  
  <p><strong>app.js</strong></p>
  
  <pre><code>window.Vue = require('vue');
  var square = require('./square.js');
  
  Vue.component('ShopArt',
      require('./components/ShopArt.vue').default);
  
  new Vue({
      el: "#app",
      data() {
          return {
              shop: shop,
          }
      },
      mounted() {
          }
  ......
  </code></pre>