I solved it by using absolute URLs. Example, blade template:
<script src="{{ siteFullName() }}/mypath/myfile.js"></script>
@tinoni, thank you for sharing this!
Problem with wkhtmltopdf is still actual, so I am also using similar approach as workaround. The only change I made is using the url() function instead of your custom one.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community