{"library":"vue-sweetalert2","type":"library","category":null,"description":"vue-sweetalert2 is a Vue.js wrapper for the popular SweetAlert2 library, providing declarative integration of customizable alert, prompt, and confirmation dialogs into Vue applications. It supports both Vue 2 and Vue 3 (Options API) and offers server-side rendering (SSR) capabilities, especially through its Nuxt.js module. The current stable version is 5.0.11. While the project is actively maintained with periodic updates addressing bug fixes and minor features, there's no strict release cadence. A key differentiator is its `this.$swal` instance method, simplifying SweetAlert2 calls within Vue components. However, for Vue 3 Composition API users, the maintainer explicitly recommends against using this wrapper, suggesting direct SweetAlert2 calls for better feedback and alignment with its documentation.","language":"javascript","status":"active","version":"5.0.11","tags":["javascript","sweetalert","sweetalert2","alert","prompt","ssr","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-sweetalert2","imports":["import VueSweetalert2 from 'vue-sweetalert2';","import 'sweetalert2/dist/sweetalert2.min.css';","this.$swal('Hello Vue world!!!');"]},{"cmd":"yarn add vue-sweetalert2","imports":[]},{"cmd":"pnpm add vue-sweetalert2","imports":[]}],"homepage":"https://avil13.github.io/vue-sweetalert2/","github":"https://github.com/avil13/vue-sweetalert2","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-sweetalert2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-sweetalert2/compatibility"}}