Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
/ nuxt-sweetalert2 Public archive

A minimal sweetalert2 module based on vue-sweetalert2 with global options

License

Notifications You must be signed in to change notification settings

ImreC/nuxt-sweetalert2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'
      }
    ]
  ]
}

The documentation for sweetalert2, you can find here.

About

A minimal sweetalert2 module based on vue-sweetalert2 with global options

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published