Update Cookbook guides to use framework specific code.
Current Behavior
https://www.skeleton.dev/docs/svelte/guides/cookbook/clipboard
astro or svelte?
Expected Behavior
No response
Steps To Reproduce
No response
Stackblitz or Reproduction URL
No response
Environment Information
No response
More Information
No response
Hey @Rar9, thanks for the heads up on this. We have previously used Astro code snippets to represent "neutral" and non-framework specific code examples like this. So this is intentional and not a bug, just something that needs to be migrated to utilize the new tools available.
We have some changes coming in the future that will move and redistribute many of these Cookbook sections. However, until then, I'd welcome a pull request to update the code snippets and provide framework specific examples.
The code can be found here: https://github.com/skeletonlabs/skeleton/blob/main/sites/skeleton.dev/src/content/docs/guides/cookbook
And we discuss the way to tailor this for specific frameworks here: https://www.skeleton.dev/docs/svelte/resources/contribute/documentation#the-framework-component
Thanks!
Chris it's just confusing, so just remove astro for the code snippets as the user will see svelte in header.
Again, the Astro examples are the ONLY examples right now. The actual code needs to be converted to Svelte and React. So that's the request here. I've updated this ticket to represent that request.
The team and I will return to this when we have time, but that's why I've tagged it "help wanted" so that you or another contributor might be able to help make the change sooner.
Hope that helps!