The VUE global component cannot be rendered. What happens?

    <div id="app">
        {{message}}

           <l-chj></l-chj>
       <g-chj></g-chj>


    </div>
    <script type="text/javascript">
    Vue.component("g-chj", {
        tempalte: `

` }) var app = new Vue({ el: "-sharpapp", data: { message: "hello world!" }, // // components: { "l-chj": { template: `

` } } }) </script>

regardless of the order of l-chj and g-chj. All render only partial components
control suite error:

Failed to mount component: template or render function not defined.
that"s the pot of global components, so what"s the solution to this problem? Duniang Google"s answers are all related to other things, such as webpack
Mar.21,2021

template words are misspelled.


upstairs 666, if you use vscode, you can download a plug-in Code Spell Checker, to help you solve problems caused by misspelling words

Menu