diff options
author | 2022-07-13 22:44:08 +0100 | |
---|---|---|
committer | 2022-07-13 23:44:08 +0200 | |
commit | 74a600b833b511e619c9931137793f5910c2ede1 (patch) | |
tree | c9783fc2a10680d201b13f4bc6b55adf9cd71583 | |
parent | 4b271ee4307b341e58358fc4b4fe677c1f383765 (diff) | |
download | bun-74a600b833b511e619c9931137793f5910c2ede1.tar.gz bun-74a600b833b511e619c9931137793f5910c2ede1.tar.zst bun-74a600b833b511e619c9931137793f5910c2ede1.zip |
docs: Substitute npm install with bun add (#670)
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |