I create PDFs with spatie/laravel-pdf on Laravel 11, styled with TailwindCSS. My layout has I was working locally with vite running. PDfs were looking great. My deployment includes building the css with The website renders just fine with the built stylesheets from /build/assets/…. But: When I deployed my app to my forge server, the PDFs […]
Read More… from PDFs from spatie/laravel-pdf have no CSS when vite is not running