title: Importing Vanilla js file to Vue.js component
body: <p>I have previously made some drag and drop functionality in vanilla JS which I have used in other projects. Now I have started a Vue.js project and I would like to use the same drag and drop functionality.</p>
  
  <p>Is it possible to include a vanilla JS file in a Vue.js component? And how can it be done?</p>
  
  <p>So far I have only tried to add a <code>&lt;script&gt;</code> tag in the head element in the index.html but it throws an error.</p>
  
  <pre><code>&lt;script src="../src/js/drag-and-drop.js"&gt;&lt;/script&gt;
  </code></pre>