From beaa9b5024bba3d4e3e0d9695007acb00dc14053 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Fri, 26 Jul 2024 10:27:27 +0300 Subject: [PATCH] docs: add bun command examples --- packages/docs/installation.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/docs/installation.md b/packages/docs/installation.md index 1dbec1bb4..51cf039b3 100644 --- a/packages/docs/installation.md +++ b/packages/docs/installation.md @@ -20,6 +20,10 @@ yarn add vue-router@4 pnpm add vue-router@4 ``` +```bash [bun] +bun install 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.