Cloudflare DevelopersCD
Cloudflare Developers13mo ago
5 replies
Silvan

Recommended Project structure for Pages + Durable Objects + ..

So im currently running into the issue that i cant really get sveltekit + durable objects up.

I used the cf starter cli for sveltekit that worked all fine. but as soon as i add the do binding and run dev again i get no response.
I have a DoClass exported somewhere in my project but i feel like its just wrong.

I found this repo. In his case he splits the Pages with the Worker based things (monorepo). Is this the recommended approach?
https://github.com/harshil1712/votes-app-demo
GitHub
A live voting app built with Cloudflare Durable Objects and SvelteKit - harshil1712/votes-app-demo
GitHub - harshil1712/votes-app-demo: A live voting app built with C...
Was this page helpful?