Skip to content

Commit 160c8c3

Browse files
committed
[doc] Force latest version of create-react-admin in tutorial
1 parent 2180bc5 commit 160c8c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/Tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ The final result is a web application that allows you to list, create, edit, and
2626
React-admin is built on React. To start, we'll use [create-react-admin](./CreateReactAdmin.md) to bootstrap a new web application:
2727

2828
```sh
29-
npm init react-admin test-admin
29+
npm create react-admin@latest test-admin
3030
# or
31-
yarn create react-admin test-admin
31+
yarn create react-admin@latest test-admin
3232
```
3333

3434
When prompted, choose **JSON Server** as the data provider, then **None** as the auth provider. Do not add any resources for now and press **Enter**. Next, choose either `npm` or `yarn` and press **Enter**. Once everything is installed, run the following commands:

packages/create-react-admin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ npm create react-admin@latest my-app
99
# or
1010
npx create react-admin@latest my-app
1111
# or
12-
yarn create react-admin my-app
12+
yarn create react-admin@latest my-app
1313
# or
14-
bun create react-admin my-app
14+
bun create react-admin@latest my-app
1515
```
1616

1717
You'll be asked to choose a data provider (optional), an auth provider (optional). You may also setup the resources you want initially.

0 commit comments

Comments
 (0)