Support the ongoing development of Laravel.io →
Views Blade
Last updated 2 years ago.
0

I solved it by using absolute URLs. Example, blade template:

<script src="{{ siteFullName() }}/mypath/myfile.js"></script>
0

@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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ilhaminati ilhaminati Joined 20 Aug 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.