Show us some code and we might be able to help you?
Laravel and Sweetalert | Not Working on local
Hey, I have a small problem with Sweetalert, and I want to know just if it suppose to be like this or it is a bug or something is wrong.
I installed SweetAlert inside my laravel project, but somehow when I am running local and using: php artisan serve to the project to run the Sweetalert are not working, but when I am pushing the project into production mode and seperate server they are working just fine.
So my question is if I should just keep implement it and just test them when I am moving everything to production server later or this should work also on local and serve from artisan.
I am using this package of sweetalert: https://github.com/realrashid/sweet-alert
Best Regards!
Fixed it by adding this:
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
Into main blade, I found this inside another tutorial of how to install sweetalert2, and it seems to work. I will test it later if I need it inside production but it doesn't hurt I guess :)
Please or to participate in this conversation.