svelteStarter
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
main.tsx
https://stevekrouse--b7a34a8a254011f0a4ea569c3dd06744.web.val.run
This val shows how to compile and run a Svelte app in Val Town.
The clever part of this app is that we serve /App.svelte
by dynamically compiling the Svelte code to JS.
If you are looking for server-side rendering, check out svelteSSRStarter.
Thanks Rich Harris for getting this working!