diff options
author | 2022-07-07 18:20:08 -0400 | |
---|---|---|
committer | 2022-07-07 15:58:05 -0700 | |
commit | ebccbaeee9248333ca90c88c6a28ca928f5db801 (patch) | |
tree | 9aaa9caae16d39c2db0b4882a93c34df493ef7bc | |
parent | b64c71eece7572749044ce1f4e5f1bf4c384be29 (diff) | |
download | bun-ebccbaeee9248333ca90c88c6a28ca928f5db801.tar.gz bun-ebccbaeee9248333ca90c88c6a28ca928f5db801.tar.zst bun-ebccbaeee9248333ca90c88c6a28ca928f5db801.zip |
Update command to run react app to bun dev
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -454,7 +454,7 @@ To create new a React app: ```bash bun create react ./app cd app -bun +bun dev # start dev server ``` To use an existing React app: @@ -467,7 +467,7 @@ npm install -D react-refresh bun bun ./src/index.js # jsx, tsx, ts also work. can be multiple files # Start the dev server -bun +bun dev ``` From there, bun relies on the filesystem for mapping dev server paths to source files. All URL paths are relative to the project root (where `package.json` is located). |