How to generate/view PDF using Lightning Components?
There are two methods to show a PDF in
First, you can create a
Visualforce pageand embed it in the
Lightning component. See detailed example here
Let me know if this helps!
How can I embed VF page in lightning? I am unable to see any output when I use tag to include VF page.
Example at this link didn't help? http://www.vermanshul.com/2017/07/lightning-generate-pdf-from-lightning.html
The link was helpful. But how can I use it in lightning components? The example you mentioned makes use of lightning component in VF page. What I need is to generate/view PDF from lightning component.