Skip to content
A minimal sweetalert2 module based on vue-sweetalert2 with global options
Branch: master
Clone or download
Latest commit eaf07a1 Dec 3, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Initial Commit Dec 3, 2018
.babelrc Initial Commit Dec 3, 2018
.gitignore Initial commit Dec 3, 2018
LICENSE Initial commit Dec 3, 2018 Updated readme Dec 3, 2018
package.json Initial Commit Dec 3, 2018

Sweetalert2 for Nuxt.js

Use 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: [

Or pass in global options like this:

  modules: [
        confirmButtonColor: '#FFFFFF'

The documentation for sweetalert2, you can find here.

You can’t perform that action at this time.