vue-sweetalert
The demo of how to make a Vue plugin -- sweetalert
if you want to learn more about sweetalert2's api, please goto its homepage https://github.com/limonte/sweetalert2
sweetalert2
Why to depend onThe original SweetAlert plugin is currently unsupported, there's SweetAlert2. Consider to base your plugin on it.
Migration guide: https://github.com/limonte/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2
Install
npm install vue-sweetalert --save
API
this
Usage
html
swal ...
js
Vue el: 'body' methods: { this }
LICENSE
MIT