Wednesday, 14 July 2021

Laravel Vue Inertia need hard refresh for script asset in app.blade every change route

I have a script tag from CoreUI in my app.blade.php <script src="" defer></script> the problem is in every route page the script isn't being called thus not working the functions inside, I tried to require it in my app.js require('./coreui') but still doesn't work. To make it work I need to hard refresh the browser.



from Laravel Vue Inertia need hard refresh for script asset in app.blade every change route

No comments:

Post a Comment