Nemám tušení, jak vyřešit tuto chybu.
V config/app.php
Já to dal do služeb:
RealRashid\SweetAlert\SweetAlertServiceProvider::class,
a to v aliasů:
'Alert' => RealRashid\SweetAlert\Facades\Alert::class,
V mém rozvržení používám tento:
@include('sweetalert::alert')
a v regulátoru jsem dal toto:
use RealRashid\SweetAlert\Facades\Alert;
Dal jsem v terminálu composer dump-autoload, ale stále nefunguje.
Nějaké rady?