Skip to content

Commit ba40948

Browse files
o-azelithrar
authored andcommitted
1 parent caa9e43 commit ba40948

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ import {
1717

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

20-
```
20+
```sh
2121
npm create cloudflare@latest --no-auto-update --experimental --framework next
2222
```
2323

2424
#### Existing Next.js apps
2525

26-
::: note
26+
:::note
2727
Minimum required Wrangler version: 3.78.10. Check your version by running `wrangler version`. To update Wrangler, refer to [Install/Update Wrangler](/workers/wrangler/install-and-update/).
2828
:::
2929

@@ -77,13 +77,13 @@ To enable caching, you must:
7777

7878
##### Create a KV namespace
7979

80-
```
80+
```sh
8181
npx wrangler@latest kv namespace create NEXT_CACHE_WORKERS_KV
8282
```
8383

8484
##### Add the KV namespace to your Worker
8585

86-
```
86+
```toml
8787
[[kv_namespaces]]
8888
binding = "NEXT_CACHE_WORKERS_KV"
8989
id = "<YOUR_NAMESPACE_ID>"

0 commit comments

Comments
 (0)