|
@@ -15,10 +15,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
|
|
|
|
|
const warnNonPresent = (target, key) => {
|
|
const warnNonPresent = (target, key) => {
|
|
|
warn(
|
|
warn(
|
|
|
- `Property or method "${key}" is not defined on the instance but` +
|
|
|
|
|
|
|
+ `Property or method "${key}" is not defined on the instance but ` +
|
|
|
'referenced during render. Make sure that this property is reactive, ' +
|
|
'referenced during render. Make sure that this property is reactive, ' +
|
|
|
'either in the data option, or for class-based components, by ' +
|
|
'either in the data option, or for class-based components, by ' +
|
|
|
- 'initializing the property.' +
|
|
|
|
|
|
|
+ 'initializing the property. ' +
|
|
|
'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
|
|
'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
|
|
|
target
|
|
target
|
|
|
)
|
|
)
|