Skip to content

Commit

Permalink
Merge pull request #7 from opennextjs/bib/wrangler
Browse files Browse the repository at this point in the history
Add note about installing Wrangler, wrangler versions
  • Loading branch information
irvinebroque authored Sep 26, 2024
2 parents 8238274 + a4ab3ab commit 31b4996
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pages/cloudflare/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@ First, install [@opennextjs/cloudflare](https://www.npmjs.com/package/@opennextj
npm install --save-dev @opennextjs/cloudflare
```

##### 2. Add a `wrangler.toml` file
##### 2. Install Wrangler, and add a `wrangler.toml` file

Install the [Wrangler CLI](https://developers.cloudflare.com/workers/wrangler/) as a devDependency:

```npm
npm install -D wrangler@latest
```

<Callout>
You must use Wrangler version `3.78.10` or later to deploy Next.js apps using `@opennextjs/cloudflare`.
</Callout>

Then, add a [`wrangler.toml`](https://developers.cloudflare.com/workers/wrangler/configuration/) file to the root directory of your Next.js app:

Expand Down

0 comments on commit 31b4996

Please sign in to comment.