You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,20 @@ To create a new Vue project using `create-vue`, simply run the following command
14
14
npm create vue@latest
15
15
```
16
16
17
-
>[!NOTE]
17
+
>[!IMPORTANT]
18
18
>(`@latest` or`@legacy`) MUST NOT be omitted, otherwise`npm` may resolve to a cached and outdated version of the package.
19
19
20
-
By default the commandwill runin interactive mode, but youcanalso providefeature flagsin theCLI arguments to skip the prompts. Run`npm create vue@latest -- --help` tosee all available options.
20
+
By default, the commandrunsin interactive mode with prompts. Youcanskip these prompts by providingfeature flagsasCLI arguments. Tosee all availablefeature flags andoptions:
21
21
22
-
>[!NOTE]
23
-
>If you're using PowerShell, you'll need to quote the`--`, that is, run`npm create vue@latest '--' --help`.
22
+
```sh
23
+
npm create vue@latest -- --help
24
+
```
25
+
26
+
This will show you various feature flags (like`--typescript`,`--router`) and options (like`--bare` for creating a project with minimal boilerplate).
27
+
28
+
**PowerShell users:** You'll need to quote the double dashes:`npm create vue@latest '--' --help`
29
+
30
+
###Creating Vue 2 Projects
24
31
25
32
If you need to support IE11, you can create a Vue 2 project with: