To register a global component, you can use Vue.component(tagName, options).
You don’t have to register every component globally. You can make a component available only in the scope of another instance/component by registering it with the components instance option.
The same encapsulation applies for other registerable Vue features, such as directives.