Skip to content

Commit 9bba10e

Browse files
committed
docs: use @latest to avoid npx cache issues
See explanation at #157 (comment) Fixes #157
1 parent cfba2f9 commit 9bba10e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ The recommended way to start a Vite-powered Vue project
99
## Usage
1010

1111
```sh
12-
npm create vue@3
12+
npm create vue@latest
1313
```
1414

1515
Or, if you need to support IE11, you can create a Vue 2 project with:
1616

1717
```sh
18-
npm create vue@2
18+
npm create vue@legacy
1919
```
2020

21-
Note that the version number (`@3` or `@2`) MUST NOT be omitted, otherwise `npm` may resolve to a cached and outdated version of the package.
21+
Note that the tag name (`@latest` or `@legacy`) MUST NOT be omitted, otherwise `npm` may resolve to a cached and outdated version of the package.
2222

2323
## Difference from Vue CLI
2424

media/screenshot-cli.png

111 KB
Loading

0 commit comments

Comments
 (0)