Lit element providing pdf viewer
npm install @vaadin-component-factory/vcf-pdf-viewer


vcf-pdf-viewer repository and clone it locally.
vcf-pdf-viewer directory, run npm install to install dependencies.
npm start to open the demo.
npm run build before publishing a new release.
pdfjs/dist files committed in this repository are manually edited to ensure correct module resolution. Running the build script will overwrite these files, generating incompatible file paths that will cause the component to fail when trying to resolve dependencies.
npm run build if you are intentionally modifying the pdfjs dependency and are prepared to manually fix the resulting path references.