Skip to content

Commit 8769abe

Browse files
cfjedimasterchrisvfritz
authored andcommitted
Update components.md (#1557)
I removed the underscores around "prop"erty. I'm not sure what was intended there- maybe bold or italics, but I figured at minimum it should be removed until someone can correct it better.
1 parent c3d2cdf commit 8769abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ That's all you need to know about registration for now, but once you've finished
142142

143143
Earlier, we mentioned creating a component for blog posts. The problem is, that component won't be useful unless you can pass data to it, such as the title and content of the specific post we want to display. That's where props come in.
144144

145-
Props are custom attributes you can register on a component. When a value is passed to a prop attribute, it becomes a _prop_erty on that component instance. To pass a title to our blog post component, we can include it in the list of props this component accepts, using a `props` option:
145+
Props are custom attributes you can register on a component. When a value is passed to a prop attribute, it becomes a property on that component instance. To pass a title to our blog post component, we can include it in the list of props this component accepts, using a `props` option:
146146

147147
```js
148148
Vue.component('blog-post', {

0 commit comments

Comments
 (0)