We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6152a38 commit dad6c6dCopy full SHA for dad6c6d
src/guide/installation.md
@@ -97,7 +97,12 @@ Vue projects can quickly be set up with Vite by running the following commands i
97
With npm:
98
99
```bash
100
-$ npm init vite <project-name> -- --template vue
+# npm 6.x
101
+$ npm init vite@latest <project-name> --template vue
102
+
103
+# npm 7+, extra double-dash is needed:
104
+$ npm init vite@latest <project-name> -- --template vue
105
106
$ cd <project-name>
107
$ npm install
108
$ npm run dev
0 commit comments