code: function addComponentNodeListener (node, eventName, handler) {
    /* istanbul ignore next */
    if (!node.componentOptions.listeners) {
      node.componentOptions.listeners = {};
    }
  
    mergeVNodeListeners(node.componentOptions.listeners, eventName, handler);
  }
docs: Adds a listener to a Vue component vnode.