Vue, is this a parent-child component?

see such an example of parent-child component communication on the Internet. Here is a local component whose id is name. There is no parent component. Is this < users: age= "content" > < / users > the parent component? Isn"t the sentence "users":user " essentially a local component? why is it a parent-child component? What is the definition of parent and child components? The novice asks the great god for an analysis. Thank you

<!DOCTYPE html>
<html>
<head>
   <title></title>
   <style type="text/css">
   .icon {
      width: 1em; height: 1em;
      vertical-align: -0.15em;
      fill: currentColor;
      overflow: hidden;
   }
   .content{width: 200px;height: 200px;border: 1px solid black;}
   </style>
   <script src="vue.js"></script>
   <script src="svg/iconfont.js"></script>
   <style type="text/css">
   .name{color: red}
   </style>
   <script type="text/javascript">
      window.onload=function(){
         var user={
           template:"-sharpname",
           props:["age"],
         }
         new Vue({
          el:"-sharpapp",
          data:{
             content:222
          },
          components:{
             "users":user
          },
          
         })
      }
   </script>
</head>
<body>
<template id="name">
       <div>
         <span class="name">{{age}}</span>
       </div>
</template>
<div id="app">
    <users :age="content"></users>
</div>
</body>
</html>
Mar.28,2021

app is also a component, that is, the parent component


the following example:

<Component1>
    <Component2></Component2>
</Component1>
  • Component2 is a subcomponent of Component1.
  • Component1 is the parent component of Component2
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b32c72-40e82.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b32c72-40e82.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?