Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers SvelteKit

A guide for initializing a SvelteKit application using the create-cloudflare CLI, developing it locally, and deploying it to Cloudflare Workers using Workers Assets.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers SvelteKit

A guide for initializing a SvelteKit application using the create-cloudflare CLI, developing it locally, and deploying it to Cloudflare Workers using Workers Assets.

When To Use

Use when you need to create, develop, and deploy a SvelteKit application to the Cloudflare Workers platform.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-framework-guides-web-apps-sveltekit-workflow-guide.mdA guide for creating, developing locally, and deploying SvelteKit applications to Cloudflare Workers.Questions about a guide for creating, developing locally, and deploying SvelteKit applications to Cloudflare Workers.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit.textThe wrangler deploy command used to deploy a SvelteKit application to Cloudflare Workers.Exact payloads, commands, or snippets shown in The wrangler deploy command used to deploy a SvelteKit application to Cloudflare Workers.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-2.textThe wrangler deploy command used to deploy a SvelteKit application to Cloudflare Workers.Exact payloads, commands, or snippets shown in The wrangler deploy command used to deploy a SvelteKit application to Cloudflare Workers.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-3.textThe pnpm wrangler deploy command used to deploy a SvelteKit application to Cloudflare Workers.Exact payloads, commands, or snippets shown in The pnpm wrangler deploy command used to deploy a SvelteKit application to Cloudflare Workers.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-4.textThe npm command used to initialize a new SvelteKit application using the Cloudflare Workers framework template.Exact payloads, commands, or snippets shown in The npm command used to initialize a new SvelteKit application using the Cloudflare Workers framework template.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-5.textThe terminal command used to initialize a new SvelteKit project using the Cloudflare Workers framework via the create-cloudflare CLI.Exact payloads, commands, or snippets shown in The terminal command used to initialize a new SvelteKit project using the Cloudflare Workers framework via the create...
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-6.textThe pnpm command used to initialize a new SvelteKit application using the Cloudflare Workers framework template.Exact payloads, commands, or snippets shown in The pnpm command used to initialize a new SvelteKit application using the Cloudflare Workers framework template.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-7.textA text-based guide outlining the steps to deploy a SvelteKit application to Cloudflare Workers.Exact payloads, commands, or snippets shown in A text-based guide outlining the steps to deploy a SvelteKit application to Cloudflare Workers.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-8.textA text snippet demonstrating the npm run dev command used to run a SvelteKit application within the Cloudflare Workers environment.Exact payloads, commands, or snippets shown in A text snippet demonstrating the npm run dev command used to run a SvelteKit application within the Cloudflare Worker...
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-9.textThe terminal command used to run the SvelteKit development server within a Cloudflare Workers environment.Exact payloads, commands, or snippets shown in The terminal command used to run the SvelteKit development server within a Cloudflare Workers environment.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-10.textThe pnpm command used to run the SvelteKit development server for Cloudflare Workers.Exact payloads, commands, or snippets shown in The pnpm command used to run the SvelteKit development server for Cloudflare Workers.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-11.textThe npm command used to deploy a SvelteKit application to Cloudflare Workers.Exact payloads, commands, or snippets shown in The npm command used to deploy a SvelteKit application to Cloudflare Workers.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-12.textThe terminal command used to deploy a SvelteKit application to Cloudflare Workers using yarn.Exact payloads, commands, or snippets shown in The terminal command used to deploy a SvelteKit application to Cloudflare Workers using yarn.
examples/workers-framework-guides-web-apps-sveltekit-cloudflare-workers-sveltekit-13.textThe pnpm command used to deploy a SvelteKit application to Cloudflare Workers.Exact payloads, commands, or snippets shown in The pnpm command used to deploy a SvelteKit application to Cloudflare Workers.

What This Skill Covers

  • In this guide, you will create a new SvelteKit ↗ application and deploy to Cloudflare Workers.
  • Main sections: Tags, 1\. Set up a new project, 2\. Develop locally, 3\. Deploy your Project, Bindings.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/framework-guides/web-apps/sveltekit