Error in v-on handler: “ReferenceError: XXX is not defined“

The problem of error in v-on handler: “referenceerror: XXX is not defined” may occur during Vue compilation,


this may be because you do not reference the corresponding component, and the JS method of Vue reports an error,

after reference

Read More: