Home

Issue: 162

Sweetalert2

[issue link]

Hello, how can I add sweetalert2 to nuxt.js application. I placed it in the build.vendor array, imported it in the page and it says

ReferenceError: document is not defined at node_modules/sweetalert2/dist/sweetalert2.js:76:40

This question is available on Nuxt.js community (#c137)