examples
examples copied to clipboard
🟧 Svelte 5/ Sveltekit 2 Example
We could definitely use a Svelte/ Sveltekit example!
https://svelte.dev
I'll propose my repo -- https://github.com/s-petey/deno-sveltekit
And the link to the PR for the docs repo: https://github.com/denoland/docs/pull/1286
@s-petey I'll propose my repo -- https://github.com/s-petey/deno-sveltekit
I wanted to go ahead and link a few other things i found:
Support for Sveltekit:
- issue: https://github.com/denoland/deno/issues/17248#issuecomment-2461116167
Another Deno + Sveltekit example by @AndreasNasman
- issue: https://github.com/AndreasNasman/.config/issues/87
- demo: https://github.com/AndreasNasman/deno-sveltekit-template
I'm really waiting for a way to use deno.json without the need for package.json as that seems to be where the real power is. This discussion goes into detail about using Deno w/ Turborepo and the current limitations:
- discussion: https://github.com/vercel/turborepo/discussions/7454
Thanks for linking my repo! 😊 I wrote down all the steps I took to create the template project in the wiki, which might give some more insight: https://github.com/AndreasNasman/deno-sveltekit-template/wiki
There are still some problems with SvelteKit-Deno projects, like ./$types being inferred incorrectly. Improvements have been addressed in the issue @oneezy mentioned earlier, so we might soon have better support for SvelteKit with Deno.
Update: The ./$types bug has been fixed and merged for the next Deno release! 💪
There are now two examples: https://docs.deno.com/examples/svelte_tutorial/ https://github.com/denoland/docs/pull/1286 -> https://docs.deno.com/examples/sveltekit_tutorial/