después de instalar sweetalert, recibo un mensaje de error en alert.blade.php (error predeterminado, ni siquiera toco el código)
instalando el comando de paso que usé:
y obtenga la carpeta en la carpeta de vistas: proveedor/dulcealert/alert.blade.php
alerta.blade.php :
@if (config('sweetalert.alwaysLoadJS') === true && config('sweetalert.neverLoadJS') === false ) <script src="{{ $cdn ?? asset('vendor/sweetalert/sweetalert.all.js') }}"></script> @endif @if (Session::has('alert.config')) @if(config('sweetalert.animation.enable')) <link rel="stylesheet" href="{{ config('sweetalert.animatecss') }}"> @endif @if (config('sweetalert.alwaysLoadJS') === false && config('sweetalert.neverLoadJS') === false) <script src="{{ $cdn ?? asset('vendor/sweetalert/sweetalert.all.js') }}"></script> @endif <script> Swal.fire({!! Session::pull('alert.config') !!}); </script> @endif Captura de pantalla del mensaje de error: