Skip to content

Commit 709783e

Browse files
committed
Update yarn create command
1 parent 0408888 commit 709783e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/guide/quick-start.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ Make sure you have an up-to-date version of [Node.js](https://nodejs.org/) insta
4646
<VTCodeGroupTab label="yarn">
4747

4848
```sh
49+
# For Yarn Modern (v2+)
4950
$ yarn create vue@latest
51+
52+
# For Yarn ^v4.11
53+
$ yarn dlx create-vue@latest
5054
```
5155

5256
</VTCodeGroupTab>

src/guide/scaling-up/tooling.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ To get started with Vite + Vue, simply run:
4343
<VTCodeGroupTab label="yarn">
4444

4545
```sh
46+
# For Yarn Modern (v2+)
4647
$ yarn create vue@latest
48+
49+
# For Yarn ^v4.11
50+
$ yarn dlx create-vue@latest
4751
```
4852

4953
</VTCodeGroupTab>

0 commit comments

Comments
 (0)