1.0.0 • Published 5 years ago

nuxt-sweetalert2 v1.0.0

Weekly downloads
678
License
MIT
Repository
github
Last release
5 years ago

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.