From 8d353fc3c979f18d4b4202dc5cc0403dfadfa9e5 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Sat, 28 Dec 2024 00:35:08 +0100 Subject: [PATCH] remove the no longer necessary Cloudflare's flarelabs template reference --- pages/cloudflare/examples.mdx | 7 +------ pages/cloudflare/get-started.mdx | 7 +------ pages/cloudflare/index.mdx | 6 +----- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/pages/cloudflare/examples.mdx b/pages/cloudflare/examples.mdx index ff0eb03..22c2ae3 100644 --- a/pages/cloudflare/examples.mdx +++ b/pages/cloudflare/examples.mdx @@ -6,14 +6,9 @@ import { Callout } from 'nextra/components'; To create a new Next.js app, pre-configured to run on Cloudflare using @opennextjs/cloudflare, run: ``` -npm create cloudflare@latest -- --template https://github.com/flarelabs-net/workers-next +npm create cloudflare@latest -- my-next-app --framework=next --experimental ``` - -The experimental template for the Next framework is still based on 0.2. -Use the template from `flarelabs-net/workers-next` as indicated above to use 0.3. - - ### Basic starter projects Basic example apps are included in the repository for `@opennextjs/cloudflare` package: diff --git a/pages/cloudflare/get-started.mdx b/pages/cloudflare/get-started.mdx index 7cd16fd..7c7fa5e 100644 --- a/pages/cloudflare/get-started.mdx +++ b/pages/cloudflare/get-started.mdx @@ -8,14 +8,9 @@ import { Callout } from 'nextra/components'; To create a new Next.js app, pre-configured to run on Cloudflare using @opennextjs/cloudflare, run: ``` -npm create cloudflare@latest -- --template https://github.com/flarelabs-net/workers-next +npm create cloudflare@latest -- my-next-app --framework=next --experimental ``` - -The experimental template for the Next framework is still based on 0.2. -Use the template from `flarelabs-net/workers-next` as indicated above to use 0.3. - - #### Existing Next.js apps ##### 1. Install @opennextjs/cloudflare diff --git a/pages/cloudflare/index.mdx b/pages/cloudflare/index.mdx index 1e3ee1f..1e8061d 100644 --- a/pages/cloudflare/index.mdx +++ b/pages/cloudflare/index.mdx @@ -19,13 +19,9 @@ 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: ``` -npm create cloudflare@latest -- --template https://github.com/flarelabs-net/workers-next +npm create cloudflare@latest -- my-next-app --framework=next --experimental ``` - -The experimental template for the Next framework is still based on 0.2. -Use the template from `flarelabs-net/workers-next` as indicated above to use 0.3. - ##### Existing Next.js apps