diff --git a/src/guide/installation.md b/src/guide/installation.md index 03f44207fe..f6c7adeaa6 100644 --- a/src/guide/installation.md +++ b/src/guide/installation.md @@ -97,7 +97,12 @@ Vue projects can quickly be set up with Vite by running the following commands i With npm: ```bash -$ npm init vite -- --template vue +# npm 6.x +$ npm init vite@latest --template vue + +# npm 7+, extra double-dash is needed: +$ npm init vite@latest -- --template vue + $ cd $ npm install $ npm run dev