The initial lowercase of the child component name is not recognized in the parent template in the vue project.

problem description

the lowercase of the child component name is not recognized in the parent template in the vue project

the environmental background of the problems and what methods you have tried

clipboard.png

as shown in the figure, the lowercase letter opening tag is not recognized (it would be fine to start with an uppercase letter)

what result do you expect? What is the error message actually seen?

because the html tag specification is lowercase or-connectors, it seems that vue can only start with uppercase letters, which is a bit confusing.

Dec.02,2021

is changed to lowercase because it is treated as a sub tag for html rather than a component, and you change the component name.


components: {

'sub': Sub

}
sub is the html tag. Do not repeat the component name with the html signature. Change the name.

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-1b3c185-2c2f2.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-1b3c185-2c2f2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?