Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Echo from Laravel-echo not defined #10

Open
aleiruiz opened this issue Feb 18, 2018 · 0 comments
Open

Import Echo from Laravel-echo not defined #10

aleiruiz opened this issue Feb 18, 2018 · 0 comments

Comments

@aleiruiz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant