title: Importing javascript file for use within vue component
body: <p>I am working on a project that requires using a js plugin. Now that we're using vue and we have a component to handle the plugin based logic, I need to import the js plugin file within the vue component in order to initialize the plugin. </p>
  
  <p>Previously, this was handled within the markup as follows:</p>
  
  <pre><code>&lt;script src="//api.myplugincom/widget/mykey.js
  "&gt;&lt;/script&gt;
  </code></pre>
  
  <p>This is what I tried, but I am getting a compile time error:</p>
  
  <p>MyComponent.vue</p>
  
  <pre><code>import Vue from 'vue';
  import * from  '//api.myplugincom/widget/mykey.js';
  
  export default {
      data: {
  </code></pre>
  
  <p>My question is, what is the proper way to import this javascript file so I can use it within my vue component?
      ...</p>