Skip to content

Commit a7751d0

Browse files
authored
Update README.md
1 parent a715379 commit a7751d0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ An opinionated SDK to get up and running with Cloudflare Workers:
1212
Using your preferred package manager, install the `worker-functions` package. For example:
1313

1414
```
15-
yarn add worker-functions
15+
yarn add worker-functions
16+
yarn add wrangler -D
1617
```
1718

1819
After the installation is complete, run:
@@ -22,3 +23,9 @@ npx worker-functions
2223
```
2324

2425
This will generate a `wrangler.json` configuration file in your project root directory.
26+
27+
Lastly, add the following script to your `package.json`:
28+
29+
```
30+
"dev:worker": "npx wrangler --experimental-json-config dev --experimental-local"
31+
```

0 commit comments

Comments
 (0)