current error message is non helpful for vue-class-component (js or ts):
if you forget to initialize a property then you get this error:
Property or method "xxx" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
So of course with class based components there is no 'data option', so this isn't helpful.
Proposal is to change the error message:
Property or method "xxx" 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://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties
no changes.
I like the idea of linking docs in error messages.
Most helpful comment
I like the idea of linking docs in error messages.