avil13 / vue-sweetalert2

A convenient wrapper for sweetalert2.
https://avil13.github.io/vue-sweetalert2/
649 stars 75 forks source link

[Nuxt] Methods (such as isLoading, showValidationMessage, etc.) showing "is not a function" on Nuxt #120

Closed ZeyadAmr closed 3 years ago

ZeyadAmr commented 3 years ago

codesandbox example

I am using the same code that I have used on a previous Vue project (vue-sweetalert2 3.0.5), however, when I try to run it on Nuxt I get the error message:

Uncaught (in promise) TypeError: _this2.$swal.showValidationMessage is not a function same with .isLoading and others.

avil13 commented 3 years ago

@ZeyadAmr Thank you for the example, I will try to check this error soon.

darkons commented 3 years ago

I'm having the same problem

Any news about this bug?

adrian-webgurus commented 3 years ago

Hey @avil13, any news about this bug?