My Image tag:
<img src="http://codeskulptor-demos.commondatastorage.googleapis.com/GalaxyInvaders/back07.jpg"/>
And my html2pdf code:
html2pdf(this.$refs.document, {
margin: 0.2,
filename: "invoice.pdf",
pagebreak: { after: ".sautDePage" },
image: {
type: "jpeg",
quality: 0.98,
},
html2canvas: {
scale: 1,
},
jsPDF: {
unit: "in",
format: "letter",
orientation: "portrait",
},
});
Please give me any idea because now my image not display inside pdf. It is visible on page but not in pdf.