Duolith docs

Errors while checking a page

E0145 Layout without a slot

Message file never shows the screens inside it

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

A layout wraps every screen in its folder and below, and shows the current one where it writes <slot />.

How to fix it

Write <slot /> where the screens go, such as above a tab bar.

In a terminal

duolith explain E0145

Mentioned in