nuxt-sweetalert2
nuxt-sweetalert2 copied to clipboard
A minimal sweetalert2 module based on vue-sweetalert2 with global options
DEPRECATED
Please use vue-sweetalert2 at: https://github.com/avil13/vue-sweetalert2
Sweetalert2 for Nuxt.js
Use https://sweetalert2.github.io/ in your next project. Modals, toasters, confirmations, you name it. Pass global options to customize the look and feel. Tested and running in production.
Getting started
Install dependencies:
npm install nuxt-sweetalert2
Add nuxt-sweetalert2 to modules section of nuxt.config.js
{
modules: [
'nuxt-sweetalert2'
]
}
Or pass in global options like this:
{
modules: [
[
'nuxt-sweetalert2',
{
confirmButtonColor: '#FFFFFF'
}
]
]
}