From: Haoqun Jiang Date: Sun, 9 Oct 2022 13:52:53 +0000 (+0800) Subject: docs: use `npm create` as the `create` sub-command is also shared by pnpm & yarn X-Git-Tag: v3.4.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5dde6b99be52e3d9611d8fb7ab31cb804a56ee;p=thirdparty%2Fvuejs%2Fcreate-vue.git docs: use `npm create` as the `create` sub-command is also shared by pnpm & yarn --- diff --git a/README.md b/README.md index 53f79aa5..120d96a6 100644 --- 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.