rails sweetalert2 npm install code example Example: sweetalert angular 8 npm install --save sweetalert2