0

How can I install and use the ng2-pdfjs-viewer offline in angular, because I do not want to install it every time and how can I build for production with an offline package of it?

FreshMan
  • 18
  • 3
Meet
  • 328
  • 3
  • 15
  • If you want it to be separately installable, you have to make it a different app. – Akxe Dec 23 '22 at 12:10
  • Not want to be separate application – Meet Dec 26 '22 at 07:19
  • One app is one JS bundle, there is no conditional there, only thing you can do is use routing to separate them into lazy loaded parts, but when saving the app via ServiceWorker, it will download all of it every time... – Akxe Dec 27 '22 at 11:43

0 Answers0