Sunday, April 2, 2017

Sweet Alert for Laravel 5.4 Error: Class '‘Alerts' not found

I'm trying to install the Sweet Alert package for Laravel: https://github.com/socieboy/alerts. I'm using Laravel 5.4.

I've followed all the directions exactly as outlined on the GitHub page, but I'm getting an error when I try to load any page that uses the master.blade.php template: "Class '‘Alerts' not found."

Has anyone else run into this? Is this package not compatible with v5.4?

Also, it seems like there is another Sweet Alert package for Laravel: https://github.com/uxweb/sweet-alert Does one replace the other? Is there any difference between the two?

Thanks



via Brian O'Neill

Advertisement