Skip to content

Svelte 5: prompt "<slot /> missing" when using children snippet instead of <slot /> in +layout.svelte #11127

@mwc

Description

@mwc

Describe the bug

Svelte 5: prompt "<slot /> missing" when using children snippet instead of <slot /> in +layout.svelte.

image

+layout.svelte file

<script>
  let { children } = $props()
</script>

{@render children()}

Reproduction

as above ...

Logs

No response

System Info

kit: 1.27.6
svelte: 5.0.0-next.13

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsvelte 5

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions