• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
stevekrouse

stevekrouse

svelteSSRStarter

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
/
README.md
Code
/
README.md
Search
2/27/2025
Viewing readonly version of main branch: v2
View latest version
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!

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.