nuxt-sweetalert2

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i nuxt-sweetalert2

Weekly Downloads

724

Version

1.0.0

License

MIT

Unpacked Size

3.62 kB

Total Files

6

Last publish

Collaborators

  • imrec