code: function getComponentName (componentPath) {
    if (!componentPath) {
      return null
    }
    let component = COMPONENTS.find(({ path }) => {
      path = normalize(path)
      return path === componentPath || path.split('.')[0] === componentPath
    })
  
    return component ? component.name : null
  }
docs: Convert a component relative path to a component name according to
  VEUI's component list.
  'Icon.vue' → 'Icon'
  @param {string} componentPath Component path
  @returns {?string} Component name (`null` if not a VEUI component)