Using the laravel-dompdf package to convert the current page into a pdf

Is there a guide on how to convert the current page or blade file into pdf? I tried on my own but I'm encountering issues "Using $this when not in object context"
Solution:
You can't really do that with domPDF. You would need jsPDF for that, for domPDF you need to write a blade parser for the data to the best display
Jump to solution
2 Replies
Solution
toeknee
toeknee13mo ago
You can't really do that with domPDF. You would need jsPDF for that, for domPDF you need to write a blade parser for the data to the best display
cant_code_4_real
cant_code_4_realOP13mo ago
I seee if that's the case I'll try the jsPDF Thank you
Want results from more Discord servers?
Add your server