Closed vxhly closed 6 years ago
Hi there!
This is an issue with laravel-echo
, rather than with this dependency.
I experienced the same problem and managed to fix it.
My event was located at App\Events\SomeEvent
and my JS code was this.$echo.private('...').listen('SomeEvent')
. However, I had to set the namespace when initialising Laravel Echo.
Vue.use(VueEcho, {
...
namespace: 'App.Events'
})
That fixed my problem and I hope this does fix yours as well!
main.js
App.vue
In the network you can see the accepted message But there is no console Send a message in https://dashboard.pusher.com