The Following code represent the registered component.How we can call the custom component in my template
Vue.component(‘my-component’, { template: ‘my own component!’ }) new Vue({ el: ‘#demo’ })
Correct Answer:
B. <my-component></my-component>
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Correct Answer:
B. <my-component></my-component>
need an explanation for this answer? contact us directly to get an explanation for this answer