1.0.0 • Published 5 years ago
nuxt-sweetalert2 v1.0.0
Nuxt.js
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'
}
]
]
}
The documentation for sweetalert2, you can find here.
1.0.0
5 years ago