/home/techb158/ileadtechnology.com/vendor/realrashid/sweet-alert/docs
NameSizeModeActions
css/-0755rm
imgs/-0755rm
.nojekyll00644editdlrm
carbonad.js22360644editdlrm
changelog.md39550644editdlrm
config.md6140644editdlrm
credits.md7920644editdlrm
demo.md30410644editdlrm
enterprise.md6060644editdlrm
environment.md65940644editdlrm
helpers.md45920644editdlrm
index.html40720644editdlrm
install.md7040644editdlrm
middleware.md37100644editdlrm
README.md20500644editdlrm
sw.js30920644editdlrm
tutorial.md31160644editdlrm
usage.md16780644editdlrm
_coverpage.md3810644editdlrm
_sidebar.md5440644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/realrashid/sweet-alert/docs/config.md (614B)
# Configuration ### Include SweetAlert 2 View Include `'sweetalert::alert'` in master layout ```php @include('sweetalert::alert') ``` and run the below command to publish the package assets. ```bash php artisan sweetalert:publish ``` > note: The javascript library of sweetalert2 is already loaded and included in the view with the help of above command! !> If you don't want to use pre-loaded **sweetalert.all.js** so you can use cdn. Just pass the `cdn` variable to above included view like below example. ```php @include('sweetalert::alert', ['cdn' => "https://cdn.jsdelivr.net/npm/sweetalert2@9"]) ```