Skip to content

Commit 0084a00

Browse files
GregBrimbledaisyfaithauma
authored andcommitted
C3 defaults to Workers (#21988)
1 parent 14934d5 commit 0084a00

27 files changed

+65
-153
lines changed

src/components/WorkerStarter.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ const link = `https://github.com/${repo}`;
1717
<p>{description}</p>
1818
<PackageManagers
1919
type="create"
20-
pkg="cloudflare@latest my-app"
21-
args=`--template ${repo}`
20+
pkg="cloudflare@latest"
21+
args=`my-app --template ${repo}`
2222
/>

src/content/docs/pages/framework-guides/deploy-a-docusaurus-site.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ To use `create-cloudflare` to create a new Docusaurus project, run the following
1515

1616
<PackageManagers
1717
type="create"
18-
pkg="cloudflare@latest my-docusaurus-app"
19-
args="--framework=docusaurus --platform=pages"
18+
pkg="cloudflare@latest"
19+
args="my-docusaurus-app --framework=docusaurus --platform=pages"
2020
/>
2121

2222
`create-cloudflare` will install additional dependencies, including the [Wrangler](/workers/wrangler/install-and-update/#check-your-wrangler-version) CLI and any necessary adapters, and ask you setup questions.

src/content/docs/pages/framework-guides/deploy-a-nuxt-site.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ The [`create-cloudflare` CLI (C3)](/pages/get-started/c3/) will configure your N
3434

3535
<PackageManagers
3636
type="create"
37-
pkg="cloudflare@latest my-nuxt-app"
38-
args="--framework=nuxt --platform=pages"
37+
pkg="cloudflare@latest"
38+
args="my-nuxt-app --framework=nuxt --platform=pages"
3939
/>
4040

4141
C3 will ask you a series of setup questions and create a new project with [`nuxi` (the official Nuxt CLI)](https://github.com/nuxt/cli). C3 will also install the necessary adapters along with the [Wrangler CLI](/workers/wrangler/install-and-update/#check-your-wrangler-version).

src/content/docs/pages/framework-guides/deploy-a-qwik-site.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ To use `create-cloudflare` to create a new Qwik project, run the following comma
1717

1818
<PackageManagers
1919
type="create"
20-
pkg="cloudflare@latest my-qwik-app"
21-
args="--framework=qwik --platform=pages"
20+
pkg="cloudflare@latest"
21+
args="my-qwik-app --framework=qwik --platform=pages"
2222
/>
2323

2424
`create-cloudflare` will install additional dependencies, including the [Wrangler CLI](/workers/wrangler/install-and-update/#check-your-wrangler-version) and any necessary adapters, and ask you setup questions.

src/content/docs/pages/framework-guides/deploy-a-react-site.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ To use `create-cloudflare` to create a new React project, run the following comm
1717

1818
<PackageManagers
1919
type="create"
20-
pkg="cloudflare@latest my-react-app"
21-
args="--framework=react --platform=pages"
20+
pkg="cloudflare@latest"
21+
args="my-react-app --framework=react --platform=pages"
2222
/>
2323

2424
`create-cloudflare` will install dependencies, including the [Wrangler](/workers/wrangler/install-and-update/#check-your-wrangler-version) CLI and the Cloudflare Pages adapter, and ask you setup questions.

src/content/docs/pages/framework-guides/deploy-a-remix-site.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ To use `create-cloudflare` to create a new Remix project, run the following comm
2323

2424
<PackageManagers
2525
type="create"
26-
pkg="cloudflare@latest my-remix-app"
27-
args="--framework=remix --platform=pages"
26+
pkg="cloudflare@latest"
27+
args="my-remix-app --framework=remix --platform=pages"
2828
/>
2929

3030
`create-cloudflare` will install additional dependencies, including the [Wrangler](/workers/wrangler/install-and-update/#check-your-wrangler-version) CLI and any necessary adapters, and ask you setup questions.

src/content/docs/pages/framework-guides/deploy-a-svelte-kit-site.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ To use `create-cloudflare` to create a new Svelte project, run the following com
1818

1919
<PackageManagers
2020
type="create"
21-
pkg="cloudflare@latest my-svelte-app"
22-
args="--framework=svelte --platform=pages"
21+
pkg="cloudflare@latest"
22+
args="my-svelte-app --framework=svelte --platform=pages"
2323
/>
2424

2525
SvelteKit will prompt you for customization choices. For the template option, choose one of the application/project options. The remaining answers will not affect the rest of this guide. Choose the options that suit your project.

src/content/docs/pages/framework-guides/deploy-a-vue-site.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ To use `create-cloudflare` to create a new Vue project, run the following comman
1717

1818
<PackageManagers
1919
type="create"
20-
pkg="cloudflare@latest my-vue-app "
21-
args="--framework=vue --platform=pages"
20+
pkg="cloudflare@latest"
21+
args="my-vue-app --framework=vue --platform=pages"
2222
/>
2323

2424
<Render file="tutorials-before-you-start" />

src/content/docs/pages/framework-guides/deploy-an-analog-site.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ The easiest way to create a new Analog project and deploy to Cloudflare Pages is
2323

2424
<PackageManagers
2525
type="create"
26-
pkg="cloudflare@latest my-analog-app"
27-
args="--framework=analog --platform=pages"
26+
pkg="cloudflare@latest"
27+
args="my-analog-app --framework=analog --platform=pages"
2828
/>
2929

3030
C3 will walk you through the setup process and create a new project using `create-analog`, the official Analog creation tool. It will also install the necessary adapters along with the [Wrangler CLI](/workers/wrangler/install-and-update/#check-your-wrangler-version).

src/content/docs/pages/framework-guides/deploy-an-angular-site.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ To use `create-cloudflare` to create a new Angular project, run the following co
1717

1818
<PackageManagers
1919
type="create"
20-
pkg="cloudflare@latest my-angular-app"
21-
args="--framework=angular --platform=pages"
20+
pkg="cloudflare@latest"
21+
args="my-angular-app --framework=angular --platform=pages"
2222
/>
2323

2424
`create-cloudflare` will install dependencies, including the [Wrangler](/workers/wrangler/install-and-update/#check-your-wrangler-version) CLI and the Cloudflare Pages adapter, and ask you setup questions.

0 commit comments

Comments
 (0)