Skip to content

Commit 12a7b40

Browse files
committed
docs: mention --bare option in README [skip ci]
1 parent b2a9386 commit 12a7b40

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

+11-4
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 command will run in interactive mode, but you can also provide feature flags in the CLI arguments to skip the prompts. Run `npm create vue@latest -- --help` to see all available options.
20+
By default, the command runs in interactive mode with prompts. You can skip these prompts by providing feature flags as CLI arguments. To see all available feature flags and options:
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)