-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Labels
bugSomething isn't workingSomething isn't workinghelp wantedPRs welcomed. The implementation details are unlikely to cause debatePRs welcomed. The implementation details are unlikely to cause debatesvelte 5
Description
Describe the bug
Like in #11127 the warning
src/routes/+layout.svelte
`<slot />` or `{@render ...}` tag missing — inner content will not be rendered
is printed even though my layout forwards the children prop to another component which displays it then.
Reproduction
See: https://stackblitz.com/edit/sveltejs-kit-template-default-u9oiqqaf
The +layout.svelte consists of only this:
<script>
import Layout from './Layout.svelte';
/** @type {{children: import('svelte').Snippet}} */
let { children } = $props();
</script>
<Layout {children} />Logs
System Info
Does not matterSeverity
annoyance
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedPRs welcomed. The implementation details are unlikely to cause debatePRs welcomed. The implementation details are unlikely to cause debatesvelte 5