From f03c23c01fc0505c40111d790f38cc23da40a0f7 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Wed, 30 Aug 2023 18:15:44 -0700 Subject: [PATCH] Update readme --- docs/guide/troubleshooting.md | 2 +- packages/create-vite/README.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/guide/troubleshooting.md b/docs/guide/troubleshooting.md index ee3eca23090711..e5bfd3869fb647 100644 --- a/docs/guide/troubleshooting.md +++ b/docs/guide/troubleshooting.md @@ -12,7 +12,7 @@ The path to your project folder may include `&`, which doesn't work with `npm` o You will need to either: -- Switch to another package manager (e.g. `pnpm`, `yarn`, `bun`) +- Switch to another package manager (e.g. `pnpm`, `yarn`) - Remove `&` from the path to your project ## Config diff --git a/packages/create-vite/README.md b/packages/create-vite/README.md index ea05ce4009beaf..8a4f5abf71277c 100644 --- a/packages/create-vite/README.md +++ b/packages/create-vite/README.md @@ -23,6 +23,12 @@ With PNPM: $ pnpm create vite ``` +With Bun: + +```bash +$ bunx create-vite +``` + Then follow the prompts! You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + Vue project, run: @@ -39,6 +45,9 @@ yarn create vite my-vue-app --template vue # pnpm pnpm create vite my-vue-app --template vue + +# Bun +bunx create-vite my-vue-app --template vue ``` Currently supported template presets include: