vue-html2pdf
vue-html2pdf copied to clipboard
Blank pdf when using table in section
I used table in pdf-content slot and when I generate the pdf, its all blank.
<vue-html2pdf
:show-layout="false"
:float-layout="true"
:enable-download="false"
:preview-modal="true"
filename="hehehe"
:paginate-elements-by-height="1100"
:pdf-quality="2"
pdf-format="a4"
pdf-orientation="portrait"
pdf-content-width="800px"
:manual-pagination="false"
ref="html2Pdf"
>
<section slot="pdf-content">
<table>
<thead>
<th></th>
</thead>
</table>
</table>
</vue-html2pdf>
hmm
:paginate-elements-by-height="1100"
:pdf-quality="2"
pdf-format="a4"
pdf-orientation="portrait"
pdf-content-width="800px"
:manual-pagination="false"
ref="html2Pdf"
>
<section slot="pdf-content">
<table>
<thead>
<th></th>
</thead>
</table>
</table>
<------Please add this like below----->
</section>
</vue-html2pdf>
Please add the </section>, then try again
yeah I forgot to write that down in my issue. I did this and still it doesnt work