Front-end beginners, recently learned vue, but component communication part I don"t understand
components are orphaned instances, that is, when < student > is introduced into the vue root instance or the parent component
, you cannot bind the element properties of the child component tags, v-if v-model v-for v-on, other properties, etc., to the data methods of the
root instance, and so on. Am I right?
but I have seen some examples on the Internet. For example, element ui often appears directly in child components such as < el-button >
VMI model = "parent component data" vMuon method Cilck= "parent component method"
do I understand it wrong?