vue3+vite+ts使用pdfvuer报错
zhangkunwei opened this issue · 4 comments
zhangkunwei commented
SyntaxError: The requested module '/node_modules/pdfjs-dist/web/pdf_viewer.js?v=fcf4b5f0' does not provide an export named 'DefaultAnnotationLayerFactory'
daisystar commented
SyntaxError: The requested module '/node_modules/pdfjs-dist/web/pdf_viewer.js?v=fcf4b5f0' does not provide an export named 'DefaultAnnotationLayerFactory'
hi,did you fix the problem?
simonmaass commented
simonmaass commented
@phcreery thnx! also switched to vue-pdf-embed