Skip to content

Commit 96c43da

Browse files
authored
[cloudflare] sync create-cloudflare command with latest changes (#119)
1 parent 58a36d8 commit 96c43da

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pages/cloudflare/examples.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Callout } from "nextra/components";
55
To create a new Next.js app, pre-configured to run on Cloudflare using `@opennextjs/cloudflare`, run:
66

77
```
8-
npm create cloudflare@latest -- my-next-app --framework=next --experimental
8+
npm create cloudflare@latest -- my-next-app --framework=next --platform=workers
99
```
1010

1111
### Basic starter projects

pages/cloudflare/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Callout } from "nextra/components";
77
To create a new Next.js app, pre-configured to run on Cloudflare using `@opennextjs/cloudflare`, run:
88

99
```sh
10-
npm create cloudflare@latest -- my-next-app --framework=next --experimental
10+
npm create cloudflare@latest -- my-next-app --framework=next --platform=workers
1111
```
1212

1313
#### Existing Next.js apps

pages/cloudflare/howtos/dev.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Let's explore, in more detail, the application development workflow we recommend
1313
To create a new Next.js app, pre-configured to run on Cloudflare using `@opennextjs/cloudflare`, run:
1414

1515
```bash
16-
npm create cloudflare@latest -- my-next-app --framework=next --experimental
16+
npm create cloudflare@latest -- my-next-app --framework=next --platform=workers
1717
```
1818

1919
### Develop locally using `next dev`

pages/cloudflare/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The [`@opennextjs/cloudflare`](https://www.npmjs.com/package/@opennextjs/cloudfl
1212
To create a new Next.js app, pre-configured to run on Cloudflare using `@opennextjs/cloudflare`, run:
1313

1414
```
15-
npm create cloudflare@latest -- my-next-app --framework=next --experimental
15+
npm create cloudflare@latest -- my-next-app --framework=next --platform=workers
1616
```
1717

1818
##### Existing Next.js apps

0 commit comments

Comments
 (0)