Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Vike

Instructions for scaffolding a new Vike application or integrating an existing Vike project with Cloudflare Workers using the vike-photon extension and automatic Wrangler configuration.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Vike

Instructions for scaffolding a new Vike application or integrating an existing Vike project with Cloudflare Workers using the vike-photon extension and automatic Wrangler configuration.

When To Use

Use when you need to scaffold a new Vike application or deploy an existing Vike project to Cloudflare Workers using automatic configuration detection.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-framework-guides-web-apps-vike-workflow-guide.mdA guide explaining how to deploy Vike applications to Cloudflare Workers using the vike-photon extension.Questions about a guide explaining how to deploy Vike applications to Cloudflare Workers using the vike-photon extension.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-deploymen.textThe text file contains the npx wrangler deploy command used to deploy a Workers Vike application.Exact payloads, commands, or snippets shown in The text file contains the npx wrangler deploy command used to deploy a Workers Vike application.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-deploymen-2.textThe text command used to deploy a Vike application to Cloudflare Workers using wrangler.Exact payloads, commands, or snippets shown in The text command used to deploy a Vike application to Cloudflare Workers using wrangler.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-deploymen-3.textThe text command used to deploy a Vike application to Cloudflare Workers using wrangler.Exact payloads, commands, or snippets shown in The text command used to deploy a Vike application to Cloudflare Workers using wrangler.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-installat.textThe npm installation command for setting up Workers with Vike and Photon.Exact payloads, commands, or snippets shown in The npm installation command for setting up Workers with Vike and Photon.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-installat-2.textThe shell commands required to install wrangler, vike-photon, and @photonjs/cloudflare for a Workers Vike project.Exact payloads, commands, or snippets shown in The shell commands required to install wrangler, vike-photon, and @photonjs/cloudflare for a Workers Vike project.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-installat-3.textThe shell commands required to install wrangler, vike-photon, and @photonjs/cloudflare for a Workers Vike project.Exact payloads, commands, or snippets shown in The shell commands required to install wrangler, vike-photon, and @photonjs/cloudflare for a Workers Vike project.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-installat-4.textThe shell commands required to install wrangler, vike-photon, and @photonjs/cloudflare for a Workers Vike project.Exact payloads, commands, or snippets shown in The shell commands required to install wrangler, vike-photon, and @photonjs/cloudflare for a Workers Vike project.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-configura.textA configuration file demonstrating how to extend Vike with a custom plugin for Cloudflare Workers.Exact payloads, commands, or snippets shown in A configuration file demonstrating how to extend Vike with a custom plugin for Cloudflare Workers.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-package-j.textThe package.json scripts configuration for running development, preview, and deployment commands in a Workers Vike project.Exact payloads, commands, or snippets shown in The package.json scripts configuration for running development, preview, and deployment commands in a Workers Vike pr...
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-wrangler-.textA wrangler.toml configuration file for a Cloudflare Workers application using the Vike framework with Node.js compatibility flags.Exact payloads, commands, or snippets shown in A wrangler.toml configuration file for a Cloudflare Workers application using the Vike framework with Node.js compati...
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-framework.textA text-based guide explaining how to implement the Vike framework within Cloudflare Workers.Exact payloads, commands, or snippets shown in A text-based guide explaining how to implement the Vike framework within Cloudflare Workers.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-environme.textA text example demonstrating how to access environment variables and KV namespaces using the cloudflare:workers module within a Vike application.Exact payloads, commands, or snippets shown in A text example demonstrating how to access environment variables and KV namespaces using the cloudflare:workers modul...
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-scaffold-.textThe npm command used to initialize a new Workers Vike project with React, Hono, Drizzle, and Cloudflare integration.Exact payloads, commands, or snippets shown in The npm command used to initialize a new Workers Vike project with React, Hono, Drizzle, and Cloudflare integration.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-scaffold--2.textThe CLI command used to scaffold a new Workers Vike project with React, Hono, Drizzle, and Cloudflare integration.Exact payloads, commands, or snippets shown in The CLI command used to scaffold a new Workers Vike project with React, Hono, Drizzle, and Cloudflare integration.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-scaffold--3.textThe pnpm command used to scaffold a new Workers Vike project with React, Hono, Drizzle, and Cloudflare integration.Exact payloads, commands, or snippets shown in The pnpm command used to scaffold a new Workers Vike project with React, Hono, Drizzle, and Cloudflare integration.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-setup-gui.textA text guide explaining how to set up and use the Vike framework within Cloudflare Workers.Exact payloads, commands, or snippets shown in A text guide explaining how to set up and use the Vike framework within Cloudflare Workers.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-setup-gui-2.textA text guide outlining the initial setup and configuration steps for using the Vike framework within Cloudflare Workers.Exact payloads, commands, or snippets shown in A text guide outlining the initial setup and configuration steps for using the Vike framework within Cloudflare Workers.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-wrangler--2.textThe command used to generate TypeScript types for a Cloudflare Workers project using Vike.Exact payloads, commands, or snippets shown in The command used to generate TypeScript types for a Cloudflare Workers project using Vike.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-git-commi.textA git commit command used to update Cloudflare types within a Workers Vike project.Exact payloads, commands, or snippets shown in A git commit command used to update Cloudflare types within a Workers Vike project.
examples/workers-framework-guides-web-apps-vike-cloudflare-workers-vike-tsconfig-.textA TypeScript configuration file specifying compiler options and type definitions for a Cloudflare Workers project using Vike.Exact payloads, commands, or snippets shown in A TypeScript configuration file specifying compiler options and type definitions for a Cloudflare Workers project usi...

What This Skill Covers

  • You can deploy your Vike ↗ app to Cloudflare using the Vike extension vike-photon ↗.
  • Main sections: Tags, What is Vike?, New app, Add to existing app, Cloudflare APIs (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/vike