Viewing 1 post (of 1 total)
  • Author
    Posts
  • #545
    jacob_smith
    Participant

    Laravel Echo issue: Problem at production. Okay at local development

    Uncaught ReferenceError: Echo is not defined at window.onload at window.onload

    <script>

    window.onload = function() {
    Echo.channel(‘test’)
    .listen(‘.event’, (e) => {
    alert(‘Hi’);
    });
    }
    </script>

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.