Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion public/__redirects
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,24 @@
/workers/static-assets/migrate-from-pages/ /workers/static-assets/migration-guides/migrate-from-pages/ 301
/workers/static-assets/compatibility-matrix/ /workers/static-assets/migration-guides/migrate-from-pages/ 301
/workers/static-assets/migrations/vercel-to-workers/ /workers/static-assets/migration-guides/vercel-to-workers/ 301
/workers/frameworks/framework-guides/remix/ /workers/frameworks/framework-guides/react-router/ 301
/workers/frameworks/framework-guides/remix/ /workers/framework-guides/web-apps/react-router/ 301
/workers/frameworks/framework-guides/ /workers/framework-guides/ 301
/workers/frameworks/framework-guides/astro/ /workers/framework-guides/web-apps/astro/ 301
/workers/frameworks/framework-guides/nextjs/ /workers/framework-guides/web-apps/nextjs/ 301
/workers/frameworks/framework-guides/react-router/ /workers/framework-guides/web-apps/react-router/ 301
/workers/frameworks/framework-guides/react/ /workers/framework-guides/web-apps/react/ 301
/workers/frameworks/framework-guides/redwoodsdk/ /workers/framework-guides/web-apps/redwoodsdk/ 301
/workers/frameworks/framework-guides/svelte/ /workers/framework-guides/web-apps/svelte/ 301
/workers/frameworks/framework-guides/tanstack/ /workers/framework-guides/web-apps/tanstack/ 301
/workers/frameworks/framework-guides/vue/ /workers/framework-guides/web-apps/vue/ 301
/workers/frameworks/framework-guides/angular/ /workers/framework-guides/web-apps/more-web-frameworks/angular/ 301
/workers/frameworks/framework-guides/docusaurus/ /workers/framework-guides/web-apps/more-web-frameworks/docusaurus/ 301
/workers/frameworks/framework-guides/gatsby/ /workers/framework-guides/web-apps/more-web-frameworks/gatsby/ 301
/workers/frameworks/framework-guides/hono/ /workers/framework-guides/web-apps/more-web-frameworks/hono/ 301
/workers/frameworks/framework-guides/nuxt/ /workers/framework-guides/web-apps/more-web-frameworks/nuxt/ 301
/workers/frameworks/framework-guides/qwik/ /workers/framework-guides/web-apps/more-web-frameworks/qwik/ 301
/workers/frameworks/framework-guides/solid/ /workers/framework-guides/web-apps/more-web-frameworks/solid/ 301

/workers/testing/unit-testing/ /workers/testing/vitest-integration/write-your-first-test/ 301
/workers/testing/integration-testing/ /workers/testing/ 301
/workers/testing/vitest-integration/get-started/ /workers/testing/vitest-integration/write-your-first-test/ 301
Expand Down
4 changes: 1 addition & 3 deletions src/content/docs/workers/ci-cd/builds/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,4 @@ It is recommended to consistently use the same API token across all uploads and

## Framework support

[Static assets](/workers/static-assets/) and [frameworks](/workers/frameworks/) are now supported in Cloudflare Workers. Learn to set up Workers projects and the commands for each framework in the framework guides:

<DirectoryListing folder="workers/frameworks/framework-guides" />
[Static assets](/workers/static-assets/) and [frameworks](/workers/frameworks/) are now supported in Cloudflare Workers. Learn to set up Workers projects and the commands for each framework in [the framework guides](/workers/framework-guides/).
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
pcx_content_type: navigation
title: Agents SDK
external_link: /agents/

---
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: AI & agents
pcx_content_type: navigation
sidebar:
order: 4
group:
hideIndex: true
---

import {
Description,
DirectoryListing
} from "~/components";

<Description>
Create full-stack applications deployed to Cloudflare Workers with AI & agent frameworks.
</Description>

<DirectoryListing folder="workers/framework-guides/ai-and-agents" maxDepth={2}/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
pcx_content_type: navigation
title: LangChain
external_link: /workers/languages/python/packages/langchain/

---
6 changes: 6 additions & 0 deletions src/content/docs/workers/framework-guides/apis/fast-api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
pcx_content_type: navigation
title: FastAPI
external_link: /workers/languages/python/packages/fastapi/

---
6 changes: 6 additions & 0 deletions src/content/docs/workers/framework-guides/apis/hono.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
pcx_content_type: navigation
title: Hono
external_link: /workers/framework-guides/web-apps/more-web-frameworks/hono/

---
19 changes: 19 additions & 0 deletions src/content/docs/workers/framework-guides/apis/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: APIs
pcx_content_type: navigation
sidebar:
order: 3
group:
hideIndex: true
---

import {
Description,
DirectoryListing
} from "~/components";

<Description>
Create full-stack applications deployed to Cloudflare Workers using APIs.
</Description>

<DirectoryListing folder="workers/framework-guides/apis" maxDepth={2}/>
21 changes: 21 additions & 0 deletions src/content/docs/workers/framework-guides/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
pcx_content_type: navigation
title: Framework guides
sidebar:
order: 12
group:
hideIndex: true
head: []
description: Create full-stack applications deployed to Cloudflare Workers.
---

import {
Description,
DirectoryListing
} from "~/components";

<Description>
Create full-stack applications deployed to Cloudflare Workers.
</Description>

<DirectoryListing folder="workers/framework-guides" maxDepth={2}/>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Expo
pcx_content_type: navigation
external_link: https://docs.expo.dev/eas/hosting/reference/worker-runtime/
---
19 changes: 19 additions & 0 deletions src/content/docs/workers/framework-guides/mobile-apps/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Mobile applications
pcx_content_type: navigation
sidebar:
order: 2
group:
hideIndex: true
---

import {
Description,
DirectoryListing
} from "~/components";

<Description>
Create full-stack mobile applications deployed to Cloudflare Workers.
</Description>

<DirectoryListing folder="workers/framework-guides/mobile-apps" maxDepth={2}/>
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
pcx_content_type: how-to
title: Astro
sidebar:
order: 2
tags: ["ssg", "full-stack"]
description: Create an Astro application and deploy it to Cloudflare Workers with Workers Assets.
---
Expand Down
19 changes: 19 additions & 0 deletions src/content/docs/workers/framework-guides/web-apps/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Web applications
pcx_content_type: navigation
sidebar:
order: 1
group:
hideIndex: true
---

import {
Description,
DirectoryListing
} from "~/components";

<Description>
Create full-stack web applications deployed to Cloudflare Workers.
</Description>

<DirectoryListing folder="workers/framework-guides/web-apps" maxDepth={2}/>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: More guides...
pcx_content_type: navigation
title: Framework guides
external_link: /workers/frameworks/
sidebar:
order: 9
group:
hideIndex: true
---
---
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
pcx_content_type: how-to
title: Next.js
sidebar:
order: 4
tags: ["full-stack"]
description: Create an Next.js application and deploy it to Cloudflare Workers with Workers Assets.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
pcx_content_type: how-to
title: React Router (formerly Remix)
sidebar:
order: 3
tags: ["full-stack"]
description: Create a React Router application and deploy it to Cloudflare Workers
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
pcx_content_type: how-to
title: React
title: React + Vite
sidebar:
order: 1
tags: ["spa"]
description: Create a React application and deploy it to Cloudflare Workers with Workers Assets.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
pcx_content_type: how-to
title: RedwoodSDK
sidebar:
order: 6
head: []
description: Create an RedwoodSDK application and deploy it to Cloudflare Workers with Workers Assets.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
pcx_content_type: how-to
title: Svelte
sidebar:
order: 8
tags: ["spa"]
description: Create a Svelte application and deploy it to Cloudflare Workers with Workers Assets.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
pcx_content_type: how-to
title: TanStack Router
title: TanStack
sidebar:
order: 7
head: []
description: Create a TanStack Router application and deploy it to Cloudflare Workers with Workers Assets.
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
pcx_content_type: how-to
title: Vue
sidebar:
order: 5
tags: ["spa"]
description: Create a Vue application and deploy it to Cloudflare Workers with Workers Assets.
---
Expand Down
39 changes: 0 additions & 39 deletions src/content/docs/workers/frameworks/index.mdx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,4 @@ import { WranglerConfig, Render, DirectoryListing } from "~/components";

Full-stack applications are web applications which are span both the client and server. The build process of these applications will produce a HTML files, accompanying client-side resources (e.g. JavaScript bundles, CSS stylesheets, images, fonts, etc.) and a Worker script. Data is typically fetched the Worker script at request-time and the initial page response is usually server-side rendered (SSR). From there, the client is then hydrated and a SPA-like experience ensues.

The following full-stack frameworks are natively supported by Workers:

<DirectoryListing
folder="workers/frameworks/framework-guides"
tag="full-stack"
/>
Visit our [framework guides](/workers/framework-guides/) to see the full-stack frameworks natively supported by Workers.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not like the list? That was previously specifically filtering for frameworks which are full-stack.

Original file line number Diff line number Diff line change
Expand Up @@ -838,5 +838,5 @@ In this tutorial, you learned how to integrate Next.js with Durable Objects to b
You can check other Cloudflare tutorials or related resources:

- [Workers RPC](/workers/runtime-apis/bindings/service-bindings/rpc/).
- [Next.js and Workers Static Assets](/workers/frameworks/framework-guides/nextjs/).
- [Next.js and Workers Static Assets](/workers/frameworks/web-apps/nextjs/).
- [Build a seat booking app with SQLite in Durable Objects](/durable-objects/tutorials/build-a-seat-booking-app/).
Loading