We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c64f9ae commit cf3be87Copy full SHA for cf3be87
src/core/instance/proxy.js
@@ -15,9 +15,11 @@ if (process.env.NODE_ENV !== 'production') {
15
16
const warnNonPresent = (target, key) => {
17
warn(
18
- `Property or method "${key}" is not defined on the instance but ` +
19
- `referenced during render. Make sure to declare reactive data ` +
20
- `properties in the data option.`,
+ `Property or method "${key}" 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 ' +
21
+ 'initializing the property.' +
22
+ 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
23
target
24
)
25
}
0 commit comments