15 lines
		
	
	
		
			656 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			656 B
		
	
	
	
		
			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
 |