FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
stevekrouse
stevekrousesvelteSSRStarter
Remix of stevekrouse/svelteStarter
Public
Like
1
svelteSSRStarter
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
main.tsx
https://stevekrouse--5eca8e3c254011f0a4ea569c3dd06744.web.val.run
README.md

Svelte SSR Starter

This val shows how to compile and run a Svelte app in Val Town with server rendering and client hydration.

The clever part of this app is that we compile the Svelte code for the server and dynamically import it on the server to generate the server HTML.

If you are looking for simpler client-side-only rendering, check out svelteStarter.

Thanks Rich Harris for getting this working!

HTTP
  • main.tsx
    stevekrouse--5e…44.web.val.run
Code
README.md
H
main.tsx
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.