Skip to content

Commit 5621547

Browse files
emily-shenRebeccaTamachiro
authored andcommitted
udpate next c3 flag (#21273)
1 parent d38e0f6 commit 5621547

File tree

1 file changed

+4
-3
lines changed
  • src/content/docs/workers/frameworks/framework-guides

1 file changed

+4
-3
lines changed

src/content/docs/workers/frameworks/framework-guides/nextjs.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,23 @@ import {
1212
Render,
1313
PackageManagers,
1414
Stream,
15-
WranglerConfig
15+
WranglerConfig,
1616
} from "~/components";
1717

1818
In this guide, you will create a new [Next.js](https://nextjs.org/) application and deploy to Cloudflare Workers (with the new [<InlineBadge preset="beta" /> Workers Assets](/workers/static-assets/)) using the [`@opennextjs/cloudflare`](https://opennext.js.org/cloudflare) package.
1919

2020
:::note
21-
If your Next.js app currently runs on Vercel, you can easily migrate your Next.js app to Cloudflare by using [Diverce](https://github.com/ygwyg/diverce), which will automatically add OpenNext to your project and create a pull request that makes it deployable to Cloudflare.
21+
If your Next.js app currently runs on Vercel, you can easily migrate your Next.js app to Cloudflare by using [Diverce](https://github.com/ygwyg/diverce), which will automatically add OpenNext to your project and create a pull request that makes it deployable to Cloudflare.
2222
:::
23+
2324
## New apps
2425

2526
To create a new Next.js app, pre-configured to run on Cloudflare using [`@opennextjs/cloudflare`](https://opennext.js.org/cloudflare), run:
2627

2728
<PackageManagers
2829
type="create"
2930
pkg="cloudflare@latest my-next-app"
30-
args={"--framework=next --experimental"}
31+
args={"--framework=next --platform=workers"}
3132
/>
3233

3334
<Render

0 commit comments

Comments
 (0)