diff --git a/src/guide/quick-start.md b/src/guide/quick-start.md index 695071c4fa..468d1ffe8b 100644 --- a/src/guide/quick-start.md +++ b/src/guide/quick-start.md @@ -24,7 +24,7 @@ In this section we will introduce how to scaffold a Vue [Single Page Application Make sure you have an up-to-date version of [Node.js](https://nodejs.org/) installed and your current working directory is the one where you intend to create a project. Run the following command in your command line (without the `>` sign): -
> npm init vue@latest
+
> npm create vue@latest
This command will install and execute [create-vue](https://github.com/vuejs/create-vue), the official Vue project scaffolding tool. You will be presented with prompts for several optional features such as TypeScript and testing support: diff --git a/src/guide/scaling-up/tooling.md b/src/guide/scaling-up/tooling.md index 5b8ea103c4..e0bf098bee 100644 --- a/src/guide/scaling-up/tooling.md +++ b/src/guide/scaling-up/tooling.md @@ -21,7 +21,7 @@ It is also recommended to use these online playgrounds to provide reproductions To get started with Vite + Vue, simply run: -
$ npm init vue@latest
+
$ npm create vue@latest
This command will install and execute [create-vue](https://github.com/vuejs/create-vue), the official Vue project scaffolding tool.