diff options
author | 2021-10-30 16:21:08 -0700 | |
---|---|---|
committer | 2021-10-30 16:21:08 -0700 | |
commit | 658926189fba6027d2ed40ea8c0a8f5dd79dabbd (patch) | |
tree | d0c9c45b9042022459c5477646150a215e946d63 | |
parent | 154c8372e303d27c33e8731187919b4bddcbf652 (diff) | |
download | bun-658926189fba6027d2ed40ea8c0a8f5dd79dabbd.tar.gz bun-658926189fba6027d2ed40ea8c0a8f5dd79dabbd.tar.zst bun-658926189fba6027d2ed40ea8c0a8f5dd79dabbd.zip |
Update README.md
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -119,7 +119,13 @@ bun To use an existing React app: ```bash -bun create /absolute-path-to-react-app app +# To enable React Fast Refresh, ensure "react-refresh" is installed +npm install -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 + +# Start the dev server bun ``` |