<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