skeleton icon indicating copy to clipboard operation
skeleton copied to clipboard

Update Cookbook guides to use framework specific code.

Open Rar9 opened this issue 4 weeks ago • 3 comments

Current Behavior

Image

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

Rar9 avatar Dec 03 '25 16:12 Rar9

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!

endigo9740 avatar Dec 03 '25 16:12 endigo9740

Chris it's just confusing, so just remove astro for the code snippets as the user will see svelte in header.

Rar9 avatar Dec 03 '25 17:12 Rar9

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!

endigo9740 avatar Dec 03 '25 17:12 endigo9740