You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i have done your setup step by step but im kind of lost with this code
`require('webrtc-adapter');
window.Cookies = require('js-cookie');
import Echo from "laravel-echo"
window.io = require('socket.io-client');
window.Echo = new Echo({
broadcaster: 'socket.io',
host: window.location.hostname + ':6001'
});`
I put that on my App's head element, but i got this error
Import Echo from Laravel-echo not defined
what should i do? nice work tho, really appreciate it
The text was updated successfully, but these errors were encountered:
Hello, i have done your setup step by step but im kind of lost with this code
`require('webrtc-adapter');
window.Cookies = require('js-cookie');
import Echo from "laravel-echo"
window.io = require('socket.io-client');
window.Echo = new Echo({
broadcaster: 'socket.io',
host: window.location.hostname + ':6001'
});`
I put that on my App's head element, but i got this error
Import Echo from Laravel-echo not defined
what should i do? nice work tho, really appreciate it
The text was updated successfully, but these errors were encountered: