aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-08 06:32:24 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-08 06:32:24 -0700
commit61ca99cfd997b8b9e548ca530b5442d06aa0a2c5 (patch)
tree18302eceda891d091260b2df2b42a2763e929cb0
parent862155fa5e7562cb7b78dd610e57ce77dd5a038c (diff)
downloadbun-61ca99cfd997b8b9e548ca530b5442d06aa0a2c5.tar.gz
bun-61ca99cfd997b8b9e548ca530b5442d06aa0a2c5.tar.zst
bun-61ca99cfd997b8b9e548ca530b5442d06aa0a2c5.zip
Update README.md
-rw-r--r--README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index 06f223cb2..6c8d52f84 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ If using Linux, kernel version 5.6 or higher is strongly recommended, but the mi
- [`bun upgrade`](#bun-upgrade)
- [`bun completions`](#bun-completions)
- [`Bun.serve`](#bunserve)
- - [`Bun.write`](#bunwrite)
+ - [`Bun.write`](##bunwrite--optimizing-io)
- [`Bun.Transpiler`](#buntranspiler)
- [`transformSync`](#buntranspilertransformsync)
- [`transform`](#buntranspilertransform)
@@ -262,9 +262,10 @@ bun
To use an existing Next.js app with bun:
```bash
-npm install bun-framework-next
-bun bun --use next
-bun
+bun add bun-framework-next
+echo "framework = 'next'" > bunfig.toml
+bun bun # bundle dependencies
+bun dev # start dev server
```
Many of Next.js’ features are supported, but not all.
@@ -472,6 +473,7 @@ port = 5000
# When navigating to a blob: or src: link, open the file in your editor
# If not, it tries $EDITOR or $VISUAL
# If that still fails, it will try Visual Studio Code, then Sublime Text, then a few others
+# This is used by Bun.openInEditor()
editor = "code"
# List of editors: