The simplest way to use html2pdf.js is to include it as a script in your HTML by using cdnjs: <script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1 ...
First of all, thank you for providing such a great library! I encountered a problem when rendering a pdf with an image file and am seeking for your help. Below is my sample code. import React, { ...