When I try to expord a pdf file using dompdf, it shows a plain text with no format. In the view, it takes perfectly the css classes from bootstrap but when it generates the pdf, its just plain text.
the only way it works, is applying styles directly to that partial view using an <style></style>
tag.
<div class="panel-body"> @if (isset($user)) @include('_pdf') <a href="{{ route('register.export', $user) }}" class="btn btn-danger pull-right" target="_blank"> <span class="glyphicon glyphicon-save-file"></span> Export </a> @endif </div>
it wont make any of bootstrap css