0👍
Vue.component('my-component-name', {
// ... options ...
})
These components are globally registered. That means they can be used in the template of any root Vue instance (new Vue) created after registration.
More information in the official documentation.
Source:stackexchange.com