Pdfmake: Is't possible to use with Vue.JS?

Created on 10 Oct 2018  路  6Comments  路  Source: bpampuch/pdfmake

Is't possible to use with Vue.JS?

Most helpful comment

All 6 comments

Thank. But I don't understand how to pass a

content ( dynamic content ).

var docDefinition = { content: 'This is an sample PDF printed with pdfMake' }

Above is example how to use pdfmake in Vue.JS framework. For preparing content you can use javascript/framework ability (eg. append array item/variable, etc.). If you do not know how, use google or Vue.JS support.

@knakamatsu thank you so much,

I used this file in my VueJS project, but i get this error:
'Cannot set property 'render' of undefined'
I tried different approachs but i can't resolve

I used this file in my VueJS project, but i get this error:
'Cannot set property 'render' of undefined'
I tried different approachs but i can't resolve

I found an example online that used the following as an import, hopefully it helps
import pdfMake from "pdfmake/build/pdfmake";

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ValeSauer picture ValeSauer  路  3Comments

qgliu picture qgliu  路  3Comments

sayjeyhi picture sayjeyhi  路  3Comments

jkd003 picture jkd003  路  3Comments

CharlyPoppins picture CharlyPoppins  路  3Comments