8000 docs: add bun instructions · nuxt/nuxt@59f79f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 59f79f6

Browse files
committed
docs: add bun instructions
1 parent 37ba586 commit 59f79f6

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

docs/1.getting-started/2.installation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ npx nuxi@latest init <project-name>
5959
pnpm dlx nuxi@latest init <project-name>
6060
```
6161

62+
```bash [bun]
63+
bunx nuxi@latest init <project-name>
64+
```
65+
6266
::
6367

6468
Open your project folder in Visual Studio Code:

docs/2.guide/2.directory-structure/1.content.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ Install the `@nuxt/content` module in your project:
3838
pnpm add -D @nuxt/content
3939
```
4040

41+
```bash [bun]
42+
bun add -D @nuxt/content
43+
```
44+
4145
::
4246

4347
Then, add `@nuxt/content` to the `modules` section of `nuxt.config.ts`:

packages/nuxi/src/utils/packageManagers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { findup } from './fs'
66
export const packageManagerLocks = {
77
yarn: 'yarn.lock',
88
npm: 'package-lock.json',
9-
pnpm: 'pnpm-lock.yaml'
9+
pnpm: 'pnpm-lock.yaml',
10+
bun: 'bun.lockb'
1011
}
1112

1213
type PackageManager = keyof typeof packageManagerLocks

0 commit comments

Comments
 (0)
0