My Vue template structure is as follows-
<template>
<div id="printContainer">
<componentA></componentA>
<div style="page-break-before:always"> </div>
<componentB></componentB>
<div style="page-break-before:always"> </div>
<componentC></componentC>
</div>
</template>
I am looking for a way to extract the HTML content of the "printContainer" div
.
Do you have any suggestions on how I can achieve this?