Skip to content

Commit 44b04bc

Browse files
authored
docs: detect Bun package manager in create-vite (#14017)
1 parent e5c3034 commit 44b04bc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

guide/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ $ yarn create vite
5959
$ pnpm create vite
6060
```
6161

62+
```bash [Bun]
63+
$ bunx create-vite
64+
```
65+
6266
:::
6367

6468
Then follow the prompts!
@@ -74,6 +78,9 @@ yarn create vite my-vue-app --template vue
7478

7579
# pnpm
7680
pnpm create vite my-vue-app --template vue
81+
82+
# bun
83+
bunx create-vite my-vue-app --template vue
7784
```
7885

7986
See [create-vite](https://github.com/vitejs/vite/tree/main/packages/create-vite) for more details on each supported template: `vanilla`, `vanilla-ts`, `vue`, `vue-ts`, `react`, `react-ts`, `react-swc`, `react-swc-ts`, `preact`, `preact-ts`, `lit`, `lit-ts`, `svelte`, `svelte-ts`, `solid`, `solid-ts`, `qwik`, `qwik-ts`.

0 commit comments

Comments
 (0)