DEV Community

Discussion on: Svelte and Cloudflare Pages

Collapse
 
yawnxyz profile image
Jan Z

Thanks!

You can't develop Sveltekit or Sapper and have it automatically move the server-side to Workers right? You have to treat the Workers like any external server (as opposed to the hooks built into Sveltekit)?

Thread Thread
 
dreitzner profile image
Domenik Reitzner

There is a svelte-kit adapter for cloudflare, which does that does the work for you:
kit.svelte.dev/docs#adapters