dimanche 9 juillet 2017

Laravel: How I can I execute a javascript code only after a user has logged in?

I am using Laravel 5.4. I want to execute some javascript code only after a user has logged in.

My problem statement is - I want to execute some javascript code to listen for user notifications (I am using pusher for broadcasting). The channels for notifications will user ID based; so I can't use generic code.

What would be the most elegant way to achieve this?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2tELG4l
via IFTTT

Aucun commentaire:

Enregistrer un commentaire