vinodnimbalkar / svelte-pdf

svelte-pdf provides a component for rendering PDF documents using PDF.js
https://www.npmjs.com/package/svelte-pdf
MIT License
196 stars 47 forks source link

Convert Svelte components into PDF as input type #53

Open uvulpos opened 1 year ago

uvulpos commented 1 year ago

As a developer of a frontend only project, I need a way to create a PDF and give the user a nice interface to preview and download his / her documentation.

The document includes svelte components and currently gets exported via the print engine of the browser. I wish I could just give the PDF library my Svelte Component as an input and in return get a way to display its content in a preview.

Possible ACs:

Helpful Notes: