in Vue.JS by
Q:

What are Components in Vue.js? How to register a component inside other component

1 Answer

0 votes
by

Vue Components are one of most powerful features of Vue js.In Vue components are custom elements that help you extend basic HTML elements to encapsulate reusable code.
Following is the way to register a Vue component inside other component

export default {

  el: '#your-element'

  components: {

      'your-component'

  }

}

Related questions

0 votes
asked Jan 9, 2020 in Vue.JS by GeorgeBell
0 votes
asked Jan 9, 2020 in Vue.JS by GeorgeBell
...