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:

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.