Skip to content

Commit 7b0642b

Browse files
committed
docs: replace deprecated create-react-app examples
close #642
1 parent 129f8db commit 7b0642b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/cli/dlx.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Aliases: `pnpx` is an alias for `pnpm dlx`
77

88
Fetches a package from the registry without installing it as a dependency, hotloads it, and runs whatever default command binary it exposes.
99

10-
For example, to use `create-react-app` anywhere to bootstrap a react app without
10+
For example, to use `create-vue` anywhere to bootstrap a Vue project without
1111
needing to install it under another project, you can run:
1212

1313
```
14-
pnpm dlx create-react-app ./my-app
14+
pnpm dlx create-vue my-app
1515
```
1616

17-
This will fetch `create-react-app` from the registry and run it with the given arguments.
17+
This will fetch `create-vue` from the registry and run it with the given arguments.
1818

1919
You may also specify which exact version of the package you'd like to use:
2020

2121
```
22-
pnpm dlx create-react-app@next ./my-app
22+
pnpm dlx create-vue@next my-app
2323
```
2424

2525
## Options

0 commit comments

Comments
 (0)