Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,7 @@ dotnet new gitignore

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages**.
3. Select **Create application** > **Pages** > **Connect to Git**.

Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-no-preset" />

<div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ brunch new proj -s es6

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, select _Brunch_ as your **Framework preset**. Your selection will provide the following information.
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Brunch" }} />

<PagesBuildPreset framework="brunch" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ To use `create-cloudflare` to create a new Docusaurus project, run the following

### Deploy via the Cloudflare dashboard

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, select _Docusaurus_ as your **Framework preset**. Your selection will provide the following information.
<Render
file="deploy-to-pages-steps-with-preset"
params={{ name: "Docusarus" }}
/>

<PagesBuildPreset framework="docusaurus" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ npx gatsby new my-gatsby-site https://github.com/alxshelepenok/gatsby-starter-lu

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Gatsby" }} />

<PagesBuildPreset framework="gatsby" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ npx gridsome create my-gridsome-website

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, the following information will be provided:
<Render
file="deploy-to-pages-steps-with-preset"
params={{ name: "Gridsome" }}
/>

<PagesBuildPreset framework="gridsome" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ Inside of `hello-hexo.md`, use Markdown to write the content of the article. You

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-no-preset" />

<div>

Expand Down
12 changes: 7 additions & 5 deletions src/content/docs/pages/framework-guides/deploy-a-hono-site.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
TabItem,
Tabs,
PackageManagers,
Stream,
Stream,
} from "~/components";

[Hono](https://honojs.dev/) is a small, simple, and ultrafast web framework for Cloudflare Pages and Workers, Deno, and Bun. Learn more about the creation of Hono by [watching an interview](#creator-interview) with its creator, [Yusuke Wada](https://yusu.ke/).
Expand Down Expand Up @@ -116,9 +116,7 @@ You should be able to review your generated web application at `http://localhost

### Deploy via the Cloudflare dashboard

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-no-preset" />

<div>

Expand Down Expand Up @@ -161,4 +159,8 @@ For demo applications using Hono and Cloudflare Pages, refer to the following re

### Creator Interview

<Stream id="db240ef1d351915849151242ec0c5f1c" title="DevTalk Episode 01 Hono" thumbnail="5s" />
<Stream
id="db240ef1d351915849151242ec0c5f1c"
title="DevTalk Episode 01 Hono"
thumbnail="5s"
/>
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,7 @@ Inside of `hello-world.md`, add some initial content to create your post. Remove

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Hugo" }} />

<PagesBuildPreset framework="hugo" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ If you are migrating an existing Jekyll project to Pages, confirm that your `Gem

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Jekyll" }} />

<PagesBuildPreset framework="jekyll" />

Expand Down
13 changes: 6 additions & 7 deletions src/content/docs/pages/framework-guides/deploy-a-nuxt-site.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ In this guide, you will create a new Nuxt application and deploy it using Cloudf

### Video Tutorial

<Stream id="fd106a56e13af42eb39b35c499432e4b" title="Deploy a Nuxt Application to Cloudflare" thumbnail="2.5s" />
<Stream
id="fd106a56e13af42eb39b35c499432e4b"
title="Deploy a Nuxt Application to Cloudflare"
thumbnail="2.5s"
/>

## Create a new project using the `create-cloudflare` CLI (C3)

Expand Down Expand Up @@ -74,12 +78,7 @@ git push -u origin main

### Create a Pages project

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. Go to **Workers & Pages** > **Create application** > **Pages** > **Connect to Git** and create a new Pages project.

You will be asked to authorize access to your GitHub account if you have not already done so. Cloudflare needs this so that it can monitor and deploy your projects from the source. You may narrow access to specific repositories if you prefer; however, you will have to manually update this list [within your GitHub settings](https://github.com/settings/installations) when you want to add more repositories to Cloudflare Pages.

3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Nuxt.js" }} />

<PagesBuildPreset framework="nuxt-js" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ This is the directory name that you will set in the build command.

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, select _Pelican_ as your **Framework preset**. Your selection will provide the following information. The build command `pelican content` refers to the `content` folder you made earlier in this guide.
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Pelican" }} />

<PagesBuildPreset framework="pelican" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,7 @@ During initialization, you can accept the `Prerender app (SSG)?` option to have

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.

You will be asked to authorize access to your GitHub account if you have not already done so. Cloudflare needs this so that it can monitor and deploy your projects from the source. You may narrow access to specific repositories if you prefer; however, you will have to manually update this list [within your GitHub settings](https://github.com/settings/installations) when you want to add more repositories to Cloudflare Pages.

Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-no-preset" />

<div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ npm start

### Deploy via the Cloudflare dashboard

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Qwik" }} />

<PagesBuildPreset framework="qwik" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ npm run dev

### Deploy via the Cloudflare dashboard

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Remix" }} />

<PagesBuildPreset framework="remix" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ export default defineConfig({

### Deploy via the Cloudflare dashboard

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in **Set up builds and deployments**, provide the following information:
<Render file="deploy-to-pages-steps-no-preset" />

<div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,7 @@ git push -u origin main

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-no-preset" />

<div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,10 @@ If you are using any adapter different from the default SvelteKit adapter, remem

### Deploy via the Cloudflare dashboard

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.

You will be asked to authorize access to your GitHub account if you have not already done so. Cloudflare needs this authorization to deploy your projects from your GitHub account. You may narrow Cloudflare's access to specific repositories. However, you will have to manually update this list [within your GitHub settings](https://github.com/settings/installations) when you want to add more repositories to Cloudflare Pages.

Select the new GitHub repository that you created and, in **Set up builds and deployments**, provide the following information:
<Render
file="deploy-to-pages-steps-with-preset"
params={{ name: "SveltKit" }}
/>

<div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,10 @@ This step makes sure that unnecessary files are not going to be included in the

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, the following information will be provided:
<Render
file="deploy-to-pages-steps-with-preset"
params={{ name: "VitePress" }}
/>

<PagesBuildPreset framework="vitepress" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ To use `create-cloudflare` to create a new Vue project, run the following comman

### Deploy via the Cloudflare dashboard

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Vue" }} />

<div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ Upon running `zola init`, you will prompted with three questions:

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.
3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Zola" }} />

<PagesBuildPreset framework="zola" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,7 @@ git push -u origin main

### Create a Pages project

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. Go to **Workers & Pages** > **Create application** > **Pages** > **Connect to Git** and create a new Pages project.

You will be asked to authorize access to your GitHub account if you have not already done so. Cloudflare needs this so that it can monitor and deploy your projects from the source. You may narrow access to specific repositories if you prefer; however, you will have to manually update this list [within your GitHub settings](https://github.com/settings/installations) when you want to add more repositories to Cloudflare Pages.

3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Analog" }} />

<PagesBuildPreset framework="analog" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,7 @@ git push -u origin main

### Create a Pages project

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. Go to **Workers & Pages** > **Create application** > **Pages** > **Connect to Git** and create a new Pages project.

You will be asked to authorize access to your GitHub account if you have not already done so. Cloudflare needs this so that it can monitor and deploy your projects from the source. You may narrow access to specific repositories if you prefer; however, you will have to manually update this list [within your GitHub settings](https://github.com/settings/installations) when you want to add more repositories to Cloudflare Pages.

3. Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Angular" }} />

<PagesBuildPreset framework="angular" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ pcx_content_type: how-to
title: Astro
---

import { PagesBuildPreset, Render, PackageManagers, Stream } from "~/components";
import {
PagesBuildPreset,
Render,
PackageManagers,
Stream,
} from "~/components";

[Astro](https://astro.build) is an all-in-one web framework for building fast, content-focused websites. By default, Astro builds websites that have zero JavaScript runtime code.

Expand All @@ -13,7 +18,11 @@ In this guide, you will create a new Astro application and deploy it using Cloud

### Video Tutorial

<Stream id="d308a0e06bfaefd12115b34076ba99a4" title="Build a Full-Stack Application using Astro and Cloudflare Workers" thumbnail="3s" />
<Stream
id="d308a0e06bfaefd12115b34076ba99a4"
title="Build a Full-Stack Application using Astro and Cloudflare Workers"
thumbnail="3s"
/>

## Set up a new project

Expand Down Expand Up @@ -55,12 +64,7 @@ npm run astro add cloudflare

### Deploy via the Cloudflare dashboard

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.

You will be asked to authorize access to your GitHub account if you have not already done so. Cloudflare needs this so that it can monitor and deploy your projects from the source. You may narrow access to specific repositories if you prefer; however, you will have to manually update this list [within your GitHub settings](https://github.com/settings/installations) when you want to add more repositories to Cloudflare Pages.

Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render file="deploy-to-pages-steps-with-preset" params={{ name: "Astro" }} />

<div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@ The Elder.js template includes a number of pages and examples showing how to bui

## Deploy with Cloudflare Pages

To deploy your site to Pages:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. In Account Home, select **Workers & Pages** > **Create application** > **Pages** > **Connect to Git**.

You will be asked to authorize access to your GitHub account if you have not already done so. Cloudflare needs this so that it can monitor and deploy your projects from the source. You may narrow access to specific repositories if you prefer; however, you will have to manually update this list [within your GitHub settings](https://github.com/settings/installations) when you want to add more repositories to Cloudflare Pages.

Select the new GitHub repository that you created and, in the **Set up builds and deployments** section, provide the following information:
<Render
file="deploy-to-pages-steps-with-preset"
params={{ name: "Elder.js" }}
/>

<PagesBuildPreset framework="elder-js" />

Expand Down
Loading
Loading