]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
docs: use `npm create` as the `create` sub-command is also shared by pnpm & yarn
authorHaoqun Jiang <haoqunjiang@gmail.com>
Sun, 9 Oct 2022 13:52:53 +0000 (21:52 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Sun, 9 Oct 2022 13:52:53 +0000 (21:52 +0800)
README.md

index 53f79aa5650df9de055c166d22f6726d2500fd47..120d96a6a13aafef773d728add857b1c17b0e006 100644 (file)
--- a/README.md
+++ b/README.md
@@ -9,13 +9,13 @@ The recommended way to start a Vite-powered Vue project
 ## Usage
 
 ```sh
-npm init vue@3
+npm create vue@3
 ```
 
 Or, if you need to support IE11, you can create a Vue 2 project with:
 
 ```sh
-npm init vue@2
+npm create vue@2
 ```
 
 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.