From ebccbaeee9248333ca90c88c6a28ca928f5db801 Mon Sep 17 00:00:00 2001 From: Hassan El Mghari Date: Thu, 7 Jul 2022 18:20:08 -0400 Subject: Update command to run react app to bun dev --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa70c5064..b0c50ccc2 100644 --- a/README.md +++ b/README.md @@ -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). -- cgit v1.2.3