aboutsummaryrefslogtreecommitdiff
path: root/packages/bun-framework-next/README.md
blob: 4df8999d1a5a8cc0086c88a2b7540e9f99d69d1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# bun-framework-next

This package lets you use Next.js 12.2 with bun. This readme assumes you already installed bun.

To start a new project:

```bash
bun create next --open
```

To use Next.js 12 with an existing project:

```bash
bun add bun-framework-next
echo "framework = 'next'" > bunfig.toml
bun bun
```

Launch the development server:

```bash
bun dev
```

Open http://localhost:3000 with your browser to see the result.