aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fábio Santos <me@fabiofdsantos.com> 2022-07-13 22:44:08 +0100
committerGravatar GitHub <noreply@github.com> 2022-07-13 23:44:08 +0200
commit74a600b833b511e619c9931137793f5910c2ede1 (patch)
treec9783fc2a10680d201b13f4bc6b55adf9cd71583
parent4b271ee4307b341e58358fc4b4fe677c1f383765 (diff)
downloadbun-74a600b833b511e619c9931137793f5910c2ede1.tar.gz
bun-74a600b833b511e619c9931137793f5910c2ede1.tar.zst
bun-74a600b833b511e619c9931137793f5910c2ede1.zip
docs: Substitute npm install with bun add (#670)
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1593736c8..517ffd177 100644
--- a/README.md
+++ b/README.md
@@ -465,8 +465,8 @@ bun dev # start dev server
To use an existing React app:
```bash
-# To enable React Fast Refresh, ensure "react-refresh" is installed
-npm install -D react-refresh
+# To enable React Fast Refresh, ensure it is installed
+bun add -d react-refresh
# Generate a bundle for your entry point(s)
bun bun ./src/index.js # jsx, tsx, ts also work. can be multiple files