Vue prompt Unknown custom element

main js
clipboard.png
html
clipboard.png

clipboard.png


clipboard.png

Jun.21,2022

makes it very clear that you have not registered the < my-alert > component. Do you have a js that registers < my-alert > components?


new Vue ({
el:'- sharpapp0',
data: {
...
},
components: {
my-alert: my-alert
},
methods: {

)

},
computed: {

},
ready: function () {

}

});


according to the prompt, the < my-alert > component is not registered, and the registered js does not execute or at the wrong time .


register the component first, and then go to vm = new Vue ({). Tmd can also find out and convince myself, and thank @ Starsky for the hint

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