From: Danila Poyarkov Date: Mon, 14 Apr 2025 07:38:02 +0000 (+0300) Subject: docs: add bun command examples (#2313) X-Git-Tag: v4.5.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dfb38f283a85e494e30e8aaf9c61837247201a4;p=thirdparty%2Fvuejs%2Frouter.git docs: add bun command examples (#2313) Co-authored-by: Eduardo San Martin Morote --- diff --git a/packages/docs/installation.md b/packages/docs/installation.md index 1dbec1bb..aa1209e7 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 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.