title: How to import thrid party js libraries in vue.js?
body: <p>Following is the code for using svg.js library in vue.js</p>
  <p>I'm being able to use it's some plugins like draggable, panzoom, filter etc... (here are the plugins <a href="https://svgjs.dev/docs/3.1/plugins/" rel="nofollow noreferrer">https://svgjs.dev/docs/3.1/plugins/</a>)</p>
  <p>Is there a way to use svg.path.js plugin?</p>
  <pre><code>import '@svgdotjs/svg.draggable.js';
  
  import { SVG } from '@svgdotjs/svg.js';
  
  
  export default {
    name: 'svg',
    components: {},
    props: [],
    data() {
      return {
      };
    },
    computed: {
    },
  mounted() {
      var draw = SVG().addTo('body');
        draw
          .rect(150, 75)
          .move(100 , 50 )
          .radius(5)
  }
  }
  </code></pre>
  <p>Similarly is there a way for me to import <code>svg.path.js</code> in to vue js somehow and use it?</p>
  <p>Here are some insights i found on stackoverflow:</p>
  <p><a href="https://stackoverflow.com/questions/55588400/how-do-i-use-svg-js-plugins-in-vue-js#comment97874178_55588400">How do i use SVG.js plugins in vue.js?</a></p>
  <p>this is that library : <a href="https://www.npmjs.com/package/svg.path.js" rel="nofollow noreferrer">https://www.npmjs.com/package/svg.path.js</a></p>
  <p>I've tried importing it this way:
  <code>import 'svg.path.js'</code></p>
  <p>But I'm getting error <code>This dependency was not found:</code></p>
  <p><strong>NOTE</strong></p>
  <p>Or is there a way to import js files directly in to vue.js?
  <strong>Please share.</strong></p>