mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update bun-framework-next for Next 12.2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# bun-framework-next
|
||||
|
||||
This package lets you use Next.js 12 with bun. This readme assumes you already installed bun.
|
||||
This package lets you use Next.js 12.2 with bun. This readme assumes you already installed bun.
|
||||
|
||||
To start a new project:
|
||||
|
||||
@@ -11,8 +11,9 @@ bun create next --open
|
||||
To use Next.js 12 with an existing project:
|
||||
|
||||
```bash
|
||||
npm install bun-framework-next
|
||||
bun bun --use next
|
||||
bun add bun-framework-next
|
||||
echo "framework = 'next'" > bunfig.toml
|
||||
bun bun
|
||||
```
|
||||
|
||||
Launch the development server:
|
||||
@@ -21,4 +22,4 @@ Launch the development server:
|
||||
bun dev
|
||||
```
|
||||
|
||||
Open http://localhost:3000 with your browser to see the result.
|
||||
Open http://localhost:3000 with your browser to see the result.
|
||||
|
||||
@@ -2,12 +2,16 @@
|
||||
"name": "bun-framework-next",
|
||||
"version": "12.2.3",
|
||||
"main": "empty.js",
|
||||
"repository": "https://github.com/oven-sh/bun",
|
||||
"module": "empty.js",
|
||||
"description": "bun compatibility layer for Next.js >= v12.2.3",
|
||||
"homepage": "https://bun.sh",
|
||||
"bugs": {
|
||||
"url": "https://github.com/oven-sh/bun/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"check": "tsc --noEmit"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"react-is": "^17.0.2"
|
||||
|
||||
Reference in New Issue
Block a user