Skip to content

Commit 1dfb38f

Browse files
dannoteposva
andauthored
docs: add bun command examples (#2313)
Co-authored-by: Eduardo San Martin Morote <[email protected]>
1 parent 0fa47da commit 1dfb38f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: packages/docs/installation.md

+8
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ yarn add vue-router@4
2020
pnpm add vue-router@4
2121
```
2222

23+
```bash [bun]
24+
bun add vue-router@4
25+
```
26+
2327
:::
2428

2529
If you're starting a new project, you might find it easier to use the [create-vue](https://github.com/vuejs/create-vue) scaffolding tool, which creates a Vite-based project with the option to include Vue Router:
@@ -38,6 +42,10 @@ yarn create vue
3842
pnpm create vue
3943
```
4044

45+
```bash [bun]
46+
bun create vue
47+
```
48+
4149
:::
4250

4351
You'll be prompted with some questions about the kind of project you want to create. If you choose to install Vue Router, the example application will also demonstrate some of Vue Router's core features.

0 commit comments

Comments
 (0)