Using Api2Pdf’s REST API, you can quickly send HTML to convert to a PDF. The first thing to do is grab an API key from portal.api2pdf.com. It only takes a minute.
It uses Axios library to make the API call. You can view the full Api2Pdf documentation here.
To see a fully working example, view this JS Fiddle and don’t forget to replace the API key with your own.Tags: convert html to pdf vuejs, create pdf from vuejs, generate pdf with vuejs, html to pdf vuejs, vuejs generate pdf, vuejs headless chrome, vuejs html to pdf example, vuejs pdf invoice, vuejs wkhtmltopdf
Comments are closed.