Duolith docs

Errors while checking a page

E0115 Slot outside a component

Message <slot /> is only for components and layouts

Why

<slot /> marks where a component shows the children it is given, or where a layout (_layout.duo) shows the screen inside it. A page is never given children.

How to fix it

Move this markup into a file in components/.

In a terminal

duolith explain E0115

Mentioned in