question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Include `<slot/>` between `<svelte:head>` tags

See original GitHub issue

To allow for cleaner markup, <slot> could be leveraged allowing for custom meta tags to be added in the component itself.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kudadamcommented, Sep 8, 2021

Hey👋, Sorry my bad. I made a mistake😔. It’s supposed to be included in the Svelte: head. I have fixed the problem☺️.

0reactions
artiebitscommented, Sep 10, 2021

i’ve just published the version 1.3.0 which contains requested <slot>, so I am closing the issue. please feel free to re-open it if you find any issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Special elements / <svelte:head> • Svelte Tutorial
The <svelte:head> element allows you to insert elements inside the <head> of your ... of <svelte:head> are returned separately from the rest of...
Read more >
A comprehensive guide to Svelte components with slots
Take a deep dive into Svelte components with slots by learning how they work and how to use them to supercharge your Svelte...
Read more >
svelte:head tags outside __layout not included in SSR output
The order is correct as well, since you have the <svelte:head> in the layout component before the <slot> . If you want the...
Read more >
Use slot string in the script tag on Svelte - Stack Overflow
If you have this: <WrapperComponent> <span>This is child content</span> </WrapperComponent>. In React you would get <span>This is child ...
Read more >
How to use slots in Svelte - Educative.io
In such a scenario, data is passed using slots to render it as an HTML tag to a specific child. The slot is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found