Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit12a7b40

Browse files
committed
docs: mention--bare option in README [skip ci]
1 parentb2a9386 commit12a7b40

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

‎README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,20 @@ To create a new Vue project using `create-vue`, simply run the following command
1414
npm create vue@latest
1515
```
1616

17-
>[!NOTE]
17+
>[!IMPORTANT]
1818
>(`@latest` or`@legacy`) MUST NOT be omitted, otherwise`npm` may resolve to a cached and outdated version of the package.
1919
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:
2121

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
2431

2532
If you need to support IE11, you can create a Vue 2 project with:
2633

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp