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

svenyonson picture svenyonson  路  3Comments

dgrice picture dgrice  路  3Comments

Christian24 picture Christian24  路  3Comments

michaelqiji picture michaelqiji  路  3Comments

kamilkp picture kamilkp  路  3Comments