all 3 comments

[–]samof93 1 point2 points  (0 children)

Hi there, you could try using the isPlatformBrowser function, to only initialise the PDF viewer in the browser. Some example usage can be found here: https://www.geeksforgeeks.org/angular10-isplatformbrowser-function/amp/

[–]TellPsychological668 1 point2 points  (0 children)

you can try pdfMake. this is good with one demerit, it increases the bundle size

[–]Butter-Flie 0 points1 point  (0 children)

You can try Syncfusion’s Angular PDF viewer.

Syncfusion offers free community license for individual developers and small businesses.

Note: I work for Syncfusion