0 votes
in VueJS by
retagged by

The Following code represents the registered component. How can you call the custom component in my template?

Vue.component('my-component', {  

template: 'my own component!'  

})  

new Vue({  

el: '#demo'  

})  

a) v-bind:my-component

b) <my-component></my-component>

c) v-my-component

d) @my-component

1 Answer

0 votes
by

b) <my-component></my-component> call the custom component in my template

...