Laravel-5.3-and-Vue-js-2.0-social-network
Laravel-5.3-and-Vue-js-2.0-social-network copied to clipboard
Pusher : Couldn't get auth info from your webapp : 404
Did you activate your BroadcastServiceProvider class ?
Sorry, but how to activate?
In config/app.php , the BoradcastServiceProvider is commented out in the providers array. remove the comments. You should follow the youtube series
its already activated :(
http://localhost:8000/broadcasting/auth 404 (Not Found)
ok, still what maybe the cause?
@yash2code
First make sure you also install the pusher-js
package after laravel-echo
So, npm install --save pusher-js
Afterwards, you have to go to bootstrap.js
and insert import Pusher from 'pusher-js'
right below require('noty');
Laravel Mix is a pain.