title: how to load external .js file in vue 2 component
body: <p>I am working on vue 2 js and I am stuck on js part. I want to use general.js file into my posts.vue file can anyone help me will really appreciate :)</p>
  
  <p>Here is my code :</p>
  
  <pre><code>    &lt;template&gt;
          &lt;div&gt;
              &lt;p&gt; {{message}} &lt;/p&gt;
          &lt;/div&gt;
      &lt;/template&gt;
  
      &lt;script&gt;
          import axios from 'axios';
          import _ from 'lodash';
  
          export default {
              data() {
                  return {
                      message : 'Here is my HTML'    
                  }
              }
          }
      &lt;/script&gt;
  </code></pre>