diff --git a/src/guide/component-provide-inject.md b/src/guide/component-provide-inject.md index a7be5b6983..dcf966dc95 100644 --- a/src/guide/component-provide-inject.md +++ b/src/guide/component-provide-inject.md @@ -59,7 +59,7 @@ app.component('todo-list', { } }, provide: { - todoLength: this.todos.length // this will result in error 'Cannot read property 'length' of undefined` + todoLength: this.todos.length // this will result in error `Cannot read property 'length' of undefined` }, template: ` ...