From 1d2302c56c7bf5abb2fe2659c6edf826bd3f6b45 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 27 Sep 2024 16:37:17 +0100 Subject: [PATCH] update the create cloudflare command ofr creating a new Next.js application --- pages/cloudflare/examples.mdx | 3 +-- pages/cloudflare/get-started.mdx | 3 +-- pages/cloudflare/index.mdx | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pages/cloudflare/examples.mdx b/pages/cloudflare/examples.mdx index 24e44f0..aba8420 100644 --- a/pages/cloudflare/examples.mdx +++ b/pages/cloudflare/examples.mdx @@ -6,8 +6,7 @@ import { Callout } from 'nextra/components'; To create a new Next.js app, pre-configured to run on Cloudflare using @opennextjs/cloudflare, run: ``` -npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/11040899018/npm-package-create-cloudflare-6830 --no-auto-update --experimental --framework next - +npm create cloudflare@latest -- my-next-app --framework=next --experimental ``` ### Basic starter projects diff --git a/pages/cloudflare/get-started.mdx b/pages/cloudflare/get-started.mdx index 3a53cd3..8a306b2 100644 --- a/pages/cloudflare/get-started.mdx +++ b/pages/cloudflare/get-started.mdx @@ -8,8 +8,7 @@ import { Callout } from 'nextra/components'; To create a new Next.js app, pre-configured to run on Cloudflare using @opennextjs/cloudflare, run: ``` -npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/11040899018/npm-package-create-cloudflare-6830 --no-auto-update --experimental --framework next - +npm create cloudflare@latest -- my-next-app --framework=next --experimental ``` #### Existing Next.js apps diff --git a/pages/cloudflare/index.mdx b/pages/cloudflare/index.mdx index 4781efb..4cf96fc 100644 --- a/pages/cloudflare/index.mdx +++ b/pages/cloudflare/index.mdx @@ -18,7 +18,7 @@ You can also use [`@cloudflare/next-on-pages`](https://www.npmjs.com/package/@cl To create a new Next.js app, pre-configured to run on Cloudflare using @opennextjs/cloudflare, run: ``` -npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/11040899018/npm-package-create-cloudflare-6830 --no-auto-update --experimental --framework next +npm create cloudflare@latest -- my-next-app --framework=next --experimental ``` ##### Existing Next.js apps