Ask questionsUse <script type="application/ld+json"> in <svelte:head>
Have we any solution to use json-ld in svelte:head?
I try insert it as @html string, but it rewrite all other head elements.
<!-- Thanks for raising an issue! (For questions, we recommend instead using https://stackoverflow.com and adding the 'svelte' tag.)
To help us help you, if you've found a bug please consider the following:
Reproductions should be small, self-contained, correct examples – http://sscce.org.
Occasionally, this won't be possible, and that's fine – we still appreciate you raising the issue. But please understand that Svelte is run by unpaid volunteers in their free time, and issues that follow these instructions will get fixed faster.
If you have a stack trace to include, we recommend putting inside a
<details> block for the sake of the thread's readability:
<details> <summary>Stack trace</summary>
Stack trace goes here... </details> -->
Answer questions cudr
But looks like in <script> inner value ignored.