title: js it's not running in laravel
body: <p>I'm migrating my laravel project to ionos hosting, but js it's not working, I think I have it all ok.
  in my localhost is working fine.
  not working local files and CDN
  I am stuck.
  and I have these errors:
  <a href="https://i.stack.imgur.com/fMpX3.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fMpX3.jpg" alt="enter image description here" /></a></p>
  <p>Could you help me, please?</p>
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang=&quot;{{ str_replace('_', '-', app()-&gt;getLocale()) }}&quot;&gt;
      &lt;head&gt;
          &lt;meta charset=&quot;UTF-8&quot;&gt;
          &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;ie=edge&quot;&gt;
          &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
  
          &lt;meta name=&quot;csrf-token&quot; content=&quot;{{ csrf_token() }}&quot;&gt;
  
          &lt;title&gt;Sertek&lt;/title&gt;
          &lt;!-- Favicon --&gt;
          &lt;link href=&quot;{{ asset('argon') }}/img/brand/favicon.png&quot; rel=&quot;icon&quot; type=&quot;image/png&quot;&gt;
          &lt;!-- Fonts --&gt;
          &lt;link href=&quot;https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&quot; rel=&quot;stylesheet&quot;&gt;
          &lt;!-- Icons --&gt;
          &lt;link href=&quot;{{ asset('argon') }}/vendor/nucleo/css/nucleo.css&quot; rel=&quot;stylesheet&quot;&gt;
          &lt;link href=&quot;{{ asset('argon') }}/vendor/@fortawesome/fontawesome-free/css/all.min.css&quot; rel=&quot;stylesheet&quot;&gt;
          &lt;!-- Argon CSS --&gt;
          &lt;link type=&quot;text/css&quot; href=&quot;{{ asset('argon') }}/css/argon.css?v=1.0.0&quot; rel=&quot;stylesheet&quot;&gt;
          &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css&quot;&gt;
          &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.1/semantic.min.css&quot;&gt;
          &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;https://cdn.datatables.net/1.10.21/css/dataTables.semanticui.min.css&quot;&gt;
          &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.min.css&quot;&gt;
      &lt;/head&gt;
      &lt;body class=&quot;{{ $class ?? 'bg-default' }}&quot;&gt;
  
  
          &lt;script src=&quot;{{ asset('argon') }}/vendor/jquery/dist/jquery.min.js&quot;&gt;&lt;/script&gt;
          &lt;script src=&quot;{{ asset('argon') }}/vendor/bootstrap/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;
          &lt;script src=&quot;//cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/esm/popper.min.js&quot;&gt;&lt;/script&gt;
          &lt;script  src=&quot;//cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.full.min.js&quot;&gt;&lt;/script&gt;
          &lt;!-- Argon JS --&gt;
          &lt;script src=&quot;{{ asset('argon') }}/js/argon.js?v=1.0.0&quot;&gt;&lt;/script&gt;
              &lt;script type=&quot;text/javascript&quot; src=&quot;//cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js&quot;&gt;&lt;/script&gt;
      &lt;script type=&quot;text/javascript&quot; src=&quot;//cdn.datatables.net/1.10.20/js/dataTables.uikit.min.js&quot;&gt;&lt;/script&gt;
      &lt;script type=&quot;text/javascript&quot; src=&quot;//cdn.datatables.net/buttons/1.6.1/js/dataTables.buttons.min.js&quot;&gt;&lt;/script&gt;
      &lt;script type=&quot;text/javascript&quot; src=&quot;//cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js&quot;&gt;&lt;/script&gt;
      &lt;script type=&quot;text/javascript&quot; src=&quot;//cdn.datatables.net/buttons/1.6.1/js/buttons.html5.min.js&quot;&gt;&lt;/script&gt;
      &lt;script&gt;
           window.onload = function exampleFunction() { 
              console.log('The Script will load now.'); //this works
          } 
      &lt;/script&gt;
              @stack('js')
  
      &lt;/body&gt;
  &lt;/html&gt;```
  </code></pre>