Built vue3-pdf-export for reusable PDF features in Vue.
#15427
saurabhzaiswal
started this conversation in
General Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone 👋
I recently published vue-pdf-export, a Vue 3 + TypeScript HTML-to-PDF package.
A Vue 3 + TypeScript package for generating PDFs from HTML with pagination, preview, headers, footers, watermarks, security, metadata, compression, and more.
Why I built it
Before publishing vue-pdf-export, I had already worked on PDF generation in different projects, including Google projects, CRM applications, and other Vue-based applications.
I tried different HTML-to-PDF approaches and existing libraries, but in real projects I often ended up building my own custom Vue PDF component around them to handle the specific requirements I needed.
This time, instead of creating another project-specific component, I decided to build a cleaner and more complete solution that I could reuse across Vue 3 projects.
That became vue-pdf-export.
The main reason was simple: I did not want to keep rebuilding the same PDF functionality again and again.
And if it can also save time for other Vue developers who need similar PDF features, even better.
It supports pagination, preview, download/print, headers & footers, watermarks, security, metadata, compression, and progress stages.
🌐 Playground: https://vue-pdf-export-playground.vercel.app/
📦 npm: https://www.npmjs.com/package/vue-pdf-export
📄 Docs: https://vue-pdf-export-docs.vercel.app/
If you try it and face any issue, feel free to let me know 🙂
All reactions