I have a project in vuejs and I have to use vue-html2pdf.
When i write a text in tag : something, my PDF is generated.
But when i write in tag :
something
, my browser is crashed.Here my code in vuejs :
:show-layout="false"
:preview-modal="true"
:paginate-elements-by-height="10"
:filename="test"
:pdf-quality="2"
:pdf-format="size"
:ref="ref"
>
Download
with this code below, my browser crashes.
And my function to download pdf :
function generateReport() {
this.$refs.html2Pdf.generatePdf();
}