Skip to content

Commit 8a5dde6

Browse files
committed
docs: use npm create as the create sub-command is also shared by pnpm & yarn
1 parent 83063ac commit 8a5dde6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

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

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

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

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

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

0 commit comments

Comments
 (0)