Global Script #997
-
I've a project based on Laravel 11 and Backpack 6 working fine for many months
After one of the latest updates made with composer update it no longer works and looking at the source of the page I see that the js/tawktASH.js module is not loaded at all and there's no error in browser console What can it be ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Hello @blondie63, Have you tried loading any other scripts to see if they work? Also, can you confirm if the script is available at the specified route? Please provide more details so I can assist you further. Cheers. |
Beta Was this translation helpful? Give feedback.
Hi @jcastroa87 i've a found a solution..
I create an override to vendor/backpack/theme-coreuiv2/resources/views/inc/head.blade.php adding this line:
@basset('js/tawktASH.js')
and i've commented the line in ui.php
// JS files that are loaded in all pages, using Laravel's asset() helper
'scripts' => [
//'js/tawktASH.js',
],
Do you know why it works like this?