J-Boogie
J-Boogie
CDCloudflare Developers
Created by J-Boogie on 6/30/2024 in #workers-help
Retrospectively adding Cloudflare Workers to an existing JS Framework project
Absolute newbie here. I have an existing Sveltekit project which was created using
npm create svelte@latest my-app
npm create svelte@latest my-app
, however I now want to add Cloudflare services such as D1 and R2, retrospectively to the existing Sveltekit project. I'm aware of Cloudflare C3
npm create cloudflare@latest
npm create cloudflare@latest
to create a new Cloudflare application which creates my Worker to interact with D1 and R2, however how do I add the Worker, using best practices, to my existing Sveltekit project? Hopefully this is a simple query however couldn't find any help in the docs or google.
1 replies