File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
packages/create-react-router Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -11,25 +11,25 @@ The full feature-set is easiest to use with Vite plugin so the getting started g
1111
1212To 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
2626npm i
2727npm run dev
2828```
2929
3030You 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
Original file line number Diff line number Diff line change 33Create a new React Router app.
44
55``` sh
6- npx create- react-router
6+ npm create react-router
77```
You can’t perform that action at this time.
0 commit comments