SweetAlert2 update


I’m going to start using the latest version of SweetAlert2

with my apps.

With the old version of SweetAlert2, i dragged the sweetalert2.min.css and sweetalert2.min.js from the downloaded file and put them in my project.
With the latest version, i can’t see these files in the downloaded folder.
I added
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
to my project and SweetAlert2 works fine, but i need it to work offline also.

What files do i need to include?


Run the app while using the CDN to get the SweetAlert stuff. In the Chrome Debugger, look at the Sources tab to see what files are loaded.

You should also be able to get this information from the SweetAlert website.

I followed what you said about using the Sources tab and was able to generate a javascript file. Now i can use SweetAlert offline. Thanks