From 8a5dde6b99be52e3d9611d8fb7ab31cb804a56ee Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Sun, 9 Oct 2022 21:52:53 +0800 Subject: [PATCH] docs: use `npm create` as the `create` sub-command is also shared by pnpm & yarn --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.5