{"library":"vue-html2pdf","type":"library","category":null,"description":"vue-html2pdf is a Vue.js wrapper component that facilitates client-side PDF generation directly from HTML content within Vue components, leveraging the robust capabilities of the html2pdf.js library internally. The package allows developers to easily convert any Vue component's template or arbitrary HTML element into a downloadable PDF document. Currently, the stable version is 1.8.0. While there isn't a strict release cadence specified, updates address breaking changes and new features. Key differentiators include its simple component-based API, extensive props for controlling PDF quality, format, orientation, and content width, and a comprehensive event system for managing the entire generation lifecycle, including pagination and pre-download hooks. It provides specific integration guidance for Nuxt.js projects and offers fine-grained control over the underlying html2pdf.js library through event arguments.","language":"javascript","status":"active","version":"1.8.0","tags":["javascript","pdf-generation","vuejs","client-side","html","canvas","html2pdf"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-html2pdf","imports":["import VueHtml2pdf from 'vue-html2pdf'","import VueHtml2pdf from 'vue-html2pdf'; Vue.use(VueHtml2pdf)"]},{"cmd":"yarn add vue-html2pdf","imports":[]},{"cmd":"pnpm add vue-html2pdf","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-html2pdf","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-html2pdf/compatibility"}}