Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Gatsby

A guide for initializing a Gatsby application using the create-cloudflare CLI, running a local development server, and deploying the site to Cloudflare Workers using Workers Assets.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Gatsby

A guide for initializing a Gatsby application using the create-cloudflare CLI, running a local development server, and deploying the site to Cloudflare Workers using Workers Assets.

When To Use

Use when you need to initialize a Gatsby project with Cloudflare Workers Assets, preview it locally, or deploy it to a .workers.dev subdomain or custom domain.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-framework-guides-web-apps-gatsby-workflow-guide.mdA guide for creating a new Gatsby application and deploying it to Cloudflare Workers using Workers Assets.Questions about a guide for creating a new Gatsby application and deploying it to Cloudflare Workers using Workers Assets.
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-setup.textThe npm command used to initialize a new Gatsby application using the Cloudflare Workers framework template.Exact payloads, commands, or snippets shown in The npm command used to initialize a new Gatsby application using the Cloudflare Workers framework template.
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-creat.textThe CLI command used to initialize a new Gatsby application using the Cloudflare Workers framework template.Exact payloads, commands, or snippets shown in The CLI command used to initialize a new Gatsby application using the Cloudflare Workers framework template.
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-pnpm-.textThe pnpm command used to initialize a new Gatsby project using the Cloudflare Workers framework starter.Exact payloads, commands, or snippets shown in The pnpm command used to initialize a new Gatsby project using the Cloudflare Workers framework starter.
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-setup-2.textTerminal commands for initializing and navigating a Gatsby application within a Cloudflare Workers environment.Exact payloads, commands, or snippets shown in Terminal commands for initializing and navigating a Gatsby application within a Cloudflare Workers environment.
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-dev-c.textThe text file demonstrates the npm run dev command used to start a local development environment for a Gatsby project running on Cloudflare Workers.Exact payloads, commands, or snippets shown in The text file demonstrates the npm run dev command used to start a local development environment for a Gatsby project...
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-dev-c-2.textThe terminal command used to run the Gatsby development server within a Cloudflare Workers environment.Exact payloads, commands, or snippets shown in The terminal command used to run the Gatsby development server within a Cloudflare Workers environment.
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-dev-c-3.textThe terminal command used to run the Gatsby development server within a Cloudflare Workers environment.Exact payloads, commands, or snippets shown in The terminal command used to run the Gatsby development server within a Cloudflare Workers environment.
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-deplo.textThe npm command used to deploy a Gatsby site to Cloudflare Workers.Exact payloads, commands, or snippets shown in The npm command used to deploy a Gatsby site to Cloudflare Workers.
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-deplo-2.textThe terminal command used to deploy a Gatsby site to Cloudflare Workers.Exact payloads, commands, or snippets shown in The terminal command used to deploy a Gatsby site to Cloudflare Workers.
examples/workers-framework-guides-web-apps-gatsby-cloudflare-workers-gatsby-deplo-3.textThe deployment command used to deploy a Gatsby site to Cloudflare Workers using pnpm.Exact payloads, commands, or snippets shown in The deployment command used to deploy a Gatsby site to Cloudflare Workers using pnpm.

What This Skill Covers

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

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/more-web-frameworks/gatsby