May 24, 2023
0
Level 2
DOMPDF doesn't read CSS
i'm using dompdf to export PDFs, but when i export the pdf it return without the styling.
here's the exporting code
$pdf = PDF::loadView('components.export-pdf-component',['transaction'=> $transaction,'calculations'=>$calculations,'address' => $address]);
return $pdf->download('sample.pdf');
Please or to participate in this conversation.