Skip to content
Advertisement

[Vue warn]: Property or method “$v” is not defined

I wanted to make a validation on the match of passwords with the following error:

vue.runtime.esm.js?2b0e:619 [Vue warn]: Property or method “$v” is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

main.js

JavaScript

My form

JavaScript

Please help me guys I can’t solve this for a day ((((

Advertisement

Answer

I’m really sorry guys ) I wrote the property validations incorrectly. I wrote

JavaScript

instead of this I had to write

JavaScript
Advertisement