nuxtjs-sweetalert2

2.0.1 • Public • Published

UPDATE LOG

  • version 9.x to latest version

REFORK ON

https://github.com/ImreC/nuxt-sweetalert2

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 nuxtjs-sweetalert2

Add nuxtjs-sweetalert2 to modules section of nuxt.config.js

{
  modules: [
    'nuxtjs-sweetalert2'
  ]
}

Or pass in global options like this:

{
  modules: [
    [
      'nuxtjs-sweetalert2',
      {
        confirmButtonColor: '#FFFFFF'
      }
    ]
  ]
}

The documentation for sweetalert2, you can find here.

Package Sidebar

Install

npm i nuxtjs-sweetalert2

Weekly Downloads

9

Version

2.0.1

License

MIT

Unpacked Size

4.1 kB

Total Files

6

Last publish

Collaborators

  • mazfreelance