registerComponent = function registerComponent(Vue, name, def) {
  if (Vue && name && def) {
    Vue.component(name, def);
  }
}
Load a component.
@param {object} Vue
@param {string} Component name
@param {object} Component definition