Skip to content

Commit 75988a3

Browse files
maxhummechrisvfritz
authored andcommitted
Typo: "be function" must be "be a function" (vuejs#1109)
1 parent 2e4d65f commit 75988a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Therefore, prefer using string templates whenever possible.
121121

122122
### `data` Must Be a Function
123123

124-
Most of the options that can be passed into the Vue constructor can be used in a component, with one special case: `data` must be function. In fact, if you try this:
124+
Most of the options that can be passed into the Vue constructor can be used in a component, with one special case: `data` must be a function. In fact, if you try this:
125125

126126
``` js
127127
Vue.component('my-component', {

0 commit comments

Comments
 (0)