nickstoneman said over 4 years ago on SweetAlerts in Rails 6 :
This was really helpful and worked without issue. It's nice to have a current tutorial for Rails 6 and Webpack. Thanks :-) Two questions to take this further: 1) How can one distinguish between multiple data confirms on the same page? 2) How can this be made page specific?