pdfmake configuration

Does anyone know how to reference the pdfmake node-module once it is installed? I have tried many combinations to reference the file such as:

import pdfmake from’pdfmake’;

var pdfMake = require(‘pdfmake’);

but none of them can find the file. How does one reference a node-module once it is installed?

Thank you,
Glen

1 Like

Hey did you ever work this out? Would love a bit of help if you did!

Any help on this topic is much appreciated

https://www.wix.com/velo/forum/coding-with-velo/pdf-file-generation-using-pdfmake