Skip to content

Commit

Permalink
docs: use @latest to avoid npx cache issues
Browse files Browse the repository at this point in the history
See explanation at vuejs/create-vue#157 (comment)
Fixes #157
  • Loading branch information
jasonreyes9 committed Jul 29, 2023
1 parent c4f8e5a commit 86028f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ The recommended way to start a Vite-powered Vue project
## Usage

```sh
npm create vue@3
npm create vue@latest
```

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

```sh
npm create vue@2
npm create vue@legacy
```

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.
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.

## Difference from Vue CLI

Expand Down
Binary file modified media/screenshot-cli.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 86028f0

Please sign in to comment.