Tag Archives: : Property or method “changeLoginType” is not defined on the instance but referenced during render

[Solved] Vue Error: Property or method “changeLoginType” is not defined on the instance but referenced during render

reason

I’m here because the method in my code doesn’t exist. I missed it and added it later

Solution

Add the following code in methods:

// Modify Login Status
changeLoginType(bool){
   this.loginType = bool
}