Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mwc opened this issue Nov 27, 2023 · 0 comments · Fixed by #11380 or #11394
Labels
bug Something isn't working svelte 5

Comments

@mwc
Copy link

mwc commented Nov 27, 2023

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

@mwc mwc changed the title Svelte 5: prompt "<slot /> missing" when using children snippet instead of <slot /> in +layout.svelte Svelte 5: prompt "<slot /> missing" when using children snippet instead of <slot /> in +layout.svelte Nov 27, 2023
@Conduitry Conduitry added the bug Something isn't working label Nov 28, 2023
@Rich-Harris Rich-Harris reopened this Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working svelte 5
Projects
None yet
4 participants