title: How to display svg image on PDF file with jspdf in vuejs
body: <p>how to add a logo properly in a pdf file with jspdf in vuejs?</p>
  
  <p>I tried to use this <strong>addSvgAsImage</strong> function like this:</p>
  
  <pre><code>const doc = new jsPDF()
  const logo = '/src/icons/svg/logo.svg'
  doc.addSvgAsImage(logo, 20, 20, 50, 50, null, 'NONE', 0)
  </code></pre>
  
  <p>and I have this error:</p>
  
  <pre><code>canvg is not defined
      at Object.et.addSvgAsImage
  </code></pre>