@include('sweetalert::alert')
please include the above line of code above the closing body tag
Now to use sweetalert2 package in your application you have to include the file , where you want to show popups . If you want to show popup on almost all views then include it in your master layout.
@include('sweetalert::alert')
please include the above line of code above the closing body tag