P
P
Prosspa2021-05-11 13:20:22
Vue.js
Prosspa, 2021-05-11 13:20:22

Are there libraries for generating pdf with pre-made pdf for Vue/Nuxt?

There is something similar for vue/nuxt - https://github.com/PHPOffice/PhpSpreadsheet
I just need to generate a pdf from a ready-made file, not from scratch.

Google found these
https://www.npmjs.com/package/nuxt-pdf#usage
https://www.npmjs.com/package/vue-pdf
https://www.npmjs.com/package/vue- pdf-app

But to be honest, I see that someone generates based on the content, someone based on the component. But I don’t see what would be based on an already prepared pdf template?

I'll be happy for tips.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Yuriev, 2021-05-11
@dyuriev

the pdf format is not intended for editing
all existing implementations - the crutches
of the pdf internals are an amorphous soup of symbols, lines and raster floating on the page
look for a way to convert something human, for example html or docx / odt to pdf, if you want to make a template in advance

T
ThunderCat, 2021-05-11
@ThunderCat

Headless chrome and template in html, fill and render.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question