I am using html-pdf to create pdf. After new user subscribes for product then admin fills data and generate pdf for that user. Now i want to make it available to show/download that pdf to user when he visits profile page . Is there any way to store pdf on server with respect to product and name .Thanks in advance.
I think this is out of the scope of this library. You could write a service that handles the storage itself.
@PriyankaBondarde anyway, all you need is to set the path where you want to save the file
pdf.create(html, pdfConfig.options).toFile(PATH_TO_SAVE_FILE, ...
Most helpful comment
I think this is out of the scope of this library. You could write a service that handles the storage itself.