Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/CreateReactAdmin.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ npx create-react-admin@latest your-admin-name
# Using npm
npm create react-admin@latest your-admin-name
# Using yarn
yarn create react-admin@latest your-admin-name
yarn create react-admin your-admin-name
# Using bun
bun create react-admin@latest your-admin-name
```
Expand Down
2 changes: 1 addition & 1 deletion docs/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ React-admin is built on React. To start, we'll use [create-react-admin](./Create
```sh
npm create react-admin@latest test-admin
# or
yarn create react-admin@latest test-admin
yarn create react-admin test-admin
```

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:
Expand Down
2 changes: 1 addition & 1 deletion packages/create-react-admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ npm create react-admin@latest my-app
# or
npx create react-admin@latest my-app
# or
yarn create react-admin@latest my-app
yarn create react-admin my-app
# or
bun create react-admin@latest my-app
```
Expand Down
4 changes: 2 additions & 2 deletions packages/create-react-admin/src/cli.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ const cli = meow(
Examples
$ npx create-react-admin@latest my-admin
$ npx create-react-admin@latest my-admin --data-provider json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
$ yarn create react-admin@latest my-admin
$ yarn create react-admin@latest my-admin --data-provider json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
$ yarn create react-admin my-admin
$ yarn create react-admin my-admin --data-provider json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
$ bun create react-admin@latest my-admin
$ bun create react-admin@latest my-admin --data-provider json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
`,
Expand Down
Loading