Skip to content

Commit 2e2eda1

Browse files
authored
Moving from a global wrangler level to a project level
1 parent 7443d6a commit 2e2eda1

File tree

1 file changed

+1
-25
lines changed
  • src/content/docs/workers/tutorials/Generate Dynamic OG Images using Cloudflare Workers

1 file changed

+1
-25
lines changed

src/content/docs/workers/tutorials/Generate Dynamic OG Images using Cloudflare Workers/index.mdx

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -80,34 +80,10 @@ graph LR
8080
Before you start, make sure you have:
8181

8282
- A Cloudflare account. If you do not have one, [sign up](https://dash.cloudflare.com/sign-up/workers-and-pages) before continuing.
83-
- Wrangler CLI installed (`npm install -g wrangler`)
8483
- [Bun](https://bun.sh/) installed on your machine.
8584
- Basic familiarity with TypeScript and React.
8685
- A text editor or IDE of your choice.
8786

88-
:::note
89-
90-
If you haven't installed Wrangler yet, you can do so using any of these package managers:
91-
92-
```bash
93-
94-
npm install -g wrangler
95-
96-
# or
97-
98-
bun add -g wrangler
99-
100-
# or
101-
102-
yarn global add wrangler
103-
104-
# or
105-
106-
pnpm add -g wrangler
107-
108-
```
109-
110-
:::
11187

11288
## 1. Set up your development environment
11389

@@ -133,7 +109,7 @@ Add the necessary packages to your project:
133109

134110
```sh
135111
bun add @cloudflare/pages-plugin-vercel-og autoprefixer postcss-cli react react-dom tailwindcss
136-
bun add -d @cloudflare/workers-types @types/bun @types/react @types/react-dom @vercel/og
112+
bun add -d @cloudflare/workers-types @types/bun @types/react @types/react-dom @vercel/og wrangler
137113
```
138114

139115
</TabItem> <TabItem label="npm">

0 commit comments

Comments
 (0)