Appearance
T6006: Layout has no slot
Cause
A layout has no default <slot />, so pages would have nowhere to render.
Example
xml
<template><div class="root"></div></template>What you see
text
ERROR T6006 app/layouts/default.tess:1:1
This layout has no <slot />, so pages would have nowhere to render.
Add <slot /> where the page should appear.
Run `tessera explain T6006` for details.Fix
Add <slot /> where the page should appear.
text
<template>
<div class="root"><slot /></div>
</template>