look at the document and see that there is some confusion here: ide/components-props.html-sharp%E4%BC%A0%E5%85%A5%E4%B8%80%E4%B8%AA%E5%AF%B9%E8%B1%A1%E7%9A%84%E6%89%80%E6%9C%89%E5%B1%9E%E6%80%A7" rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/guide.
if you want to pass in all the properties of an object as prop, you can use v-bind with no parameters (instead of v-bind:prop-name). For example, for a given object post:
post: {
id: 1,
title:"My Journey with Vue"
}
the following template:
< blog-post v talk binding = "post" > < / blog-post >
is equivalent to:
< blog-post
vMub bindvir id = "post.id"
vMicure bindvlel = "post.title"
< / blog-post >
so the question arises: what does the child component props receive this post object from the data passed by the parent component through vMerbind = "post"?