code: function postTransformComponentRoot (
    el,
    options
  ) {
    if (!el.parent) {
      // component root
      addAttr(el, '@isComponentRoot', 'true');
      addAttr(el, '@templateId', '_uid');
      addAttr(el, '@componentProps', '$props || {}');
    }
  }
docs: /* mark component root nodes as