Appearance
T3006: Missing root part
Cause
The parts list must include root, the part the component's root element carries.
Example
xml
<contract>
{ "name": "Card", "role": "group", "parts": ["icon"] }
</contract>
<template><div class="root"></div></template>What you see
text
ERROR T3006 app/components/Card.tess:2:45
The parts list must include "root", the part carried by the component's root element. Found: "icon".
Run `tessera explain T3006` for details.Fix
Add "root" to parts.