Skip to content

Commit 18a0c9d

Browse files
Add create-react-router to docs (#12215)
1 parent 9f7fdcc commit 18a0c9d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/start/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@ The full feature-set is easiest to use with Vite plugin so the getting started g
1111

1212
To use React Router minimally with your own bundling, server rendering, etc. refer to [Manual Usage][manual_usage] guide.
1313

14-
## Starter Templates
14+
## Starter Template
1515

16-
Most projects start with a template. Let's use a basic template maintained by React Router with `degit`:
16+
Most projects start with a template. Let's use a basic template maintained by React Router:
1717

1818
```shellscript nonumber
19-
npx degit remix-run/react-router/templates/basic#dev my-app
19+
npm create react-router@latest
2020
```
2121

22-
Now change into the new directory and start the app
22+
After following the prompts, change into the new directory and start the app
2323

2424
```shellscript nonumber
25-
cd my-app
25+
cd my-react-router-app
2626
npm i
2727
npm run dev
2828
```
2929

3030
You can now open your browser to `http://localhost:5173`
3131

32-
TODO: Show how to find and use community templates
32+
<!-- TODO: Show how to find and use community templates -->
3333

3434
## Without the Vite Plugin
3535

packages/create-react-router/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
Create a new React Router app.
44

55
```sh
6-
npx create-react-router
6+
npm create react-router
77
```

0 commit comments

Comments
 (0)