I’m trying to use pdf js with framework7. Pdf js is available via cdn and I want to integrate it with project built with framework7-core(webpack). How can I use pdf js since I can’t import it in my app.js?
Why can’t you just import it as a second Javascript file?
I need to export global object from pdfjs but I don’t seem to get which one to export?
Just save script locally and include it in your main html file as
<script src="...">