I think it has something to do with HTTPS as I can duplicate this behavior locally by removing the
\URL::forceScheme('https');
from App Service Provider.....
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey all,
Just signed up for Forge to simplify deployment to AWS. Using a basic Laravel/Tailwind/Vue app as a scaffold.
Everything looks and works during deployment with exception of public/app.js which causes all Vue components to fail.
Anyone have a recommendation or solution to this issue? Not sure how webpack is compiling my Laravel css but fails to load my js.
Not a compile or firewall issue. I was trying to serve the file using Laravel's url helper.
#FAILS
<script src="{{ url('js/app.js') }}"></script>
Thanks for making me take another look , @cronix -- always appreciate your help.
Please or to participate in this conversation.