svelteuidev / svelteui

SvelteUI Monorepo
https://svelteui.dev
MIT License
1.29k stars 63 forks source link

Feature Request: Please add full code examples #483

Open boustanihani opened 9 months ago

boustanihani commented 9 months ago

It would be great if we always have full code examples that really do work.

For example, if we take a look at the AppShell, in the example code, we can't see what is inside the files "HeadContent.svelte" and "NavContent.svelte", this could make the learning curve for beginners a bit hard..

https://www.svelteui.org/core/app-shell

<script>
    import { fns, AppShell, Navbar, Header, Title, Divider } from '@svelteuidev/core';
    import HeadContent from './HeadContent.svelte';
    import NavContent from './NavContent.svelte';
    ...
</script>

Would be great if this applies to all other places where some code is missing :)

Are you willing to create pull request with the fix?

No