]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
docs: add bun command examples (#2313)
authorDanila Poyarkov <github@dannote.net>
Mon, 14 Apr 2025 07:38:02 +0000 (10:38 +0300)
committerGitHub <noreply@github.com>
Mon, 14 Apr 2025 07:38:02 +0000 (09:38 +0200)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
packages/docs/installation.md

index 1dbec1bb463c839f1aeaca1be0fcb1f3f00096a0..aa1209e701b738366f97eb765eaea33b1331c33b 100644 (file)
@@ -20,6 +20,10 @@ yarn add vue-router@4
 pnpm add vue-router@4
 ```
 
+```bash [bun]
+bun add vue-router@4
+```
+
 :::
 
 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
 pnpm create vue
 ```
 
+```bash [bun]
+bun create vue
+```
+
 :::
 
 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.