TeamMaestro / pdf-viewer

PDF viewer web component built in StencilJS. Reusable in Angular, Ionic, React, Vue.JS, etc.
MIT License
76 stars 12 forks source link

Try to use it in a Stencil JS application. #30

Open matteocusinato opened 3 years ago

matteocusinato commented 3 years ago

Hi, I'm trying to use it in a Stencil JS application.

I followed the installation guide.

But I have these errors: Schermata 2020-07-09 alle 16 54 19

Can you help me? Thanks

JEricaM commented 3 years ago

Same problem here. I'm stuck :S @matteocusinato have you solved?

matteocusinato commented 3 years ago

@JEricaM no, I had resolved in changing without the plugin uploading it in a .jpeg format..

goulu commented 3 years ago

Same here :-( something is missing in the instructions : you must add import '@teamhive/pdf-viewer' somewhere. I did in my-component.tsx and it works

Songkeys commented 2 years ago

I have exactly the same issue. @goulu 's solution is not working for me :(