Vaadin PDF Viewer

Hey guys,

I trying to use vaadin pdf viewer in my web component to render pd documents. I am following the exact steps as mentioned here:

https://cdn.vaadin.com/vaadin-pdf-viewer/1.0.0-alpha11/demo/#pdf-viewer-basic-demos

I get this error in the browser:

TypeError: Cannot set property 'pdfjsLib' of undefined
    at pdf.min.js:1
    at pdf.min.js:1

Any help would be really great.

Hi Ali, the pdf viewer component is at alpha so we don’t yet support it officially. One of the reasons for it still being at alpha is that the runtime dependencies don’t load properly.