pdfvuer icon indicating copy to clipboard operation
pdfvuer copied to clipboard

Vue 3 with Vite doesn't work

Open alperencaliskan opened this issue 3 years ago • 1 comments

Hi, Tried this library on vue3 + vite. Got error in Pdfvuer.vue:7:4 while importing pdf_viewer.js Uncaught SyntaxError: import not found: PDFFindController

Steps to reproduce

  • Create new vite project yarn create vite
  • select vue, then vue or vue-ts
  • add basic example to HelloWorld.vue component

Sample project pdfvuer_vue3_issue.zip

alperencaliskan avatar Aug 09 '21 13:08 alperencaliskan

This is really late, but I don't think this package works with vite...also see https://github.com/arkokoley/pdfvuer/issues/106#issuecomment-1112356153

mikinty avatar Aug 31 '23 04:08 mikinty