Skip to content

Commit 38c091e

Browse files
erwanMarmelabdjhi
andauthored
Improve doc with Gildas code review
Co-authored-by: Gildas Garcia <1122076+djhi@users.noreply.github.com>
1 parent 8c23116 commit 38c091e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/CreateReactAdmin.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ bun run dev
7373
- **Supabase:** Generate an application using ra-supabase. The auth-provider and resources steps will be skipped.
7474
- **None:** You'll configure the data provider myself.
7575

76-
You can set your data provider directly in the command, without using interactivity:
76+
You can set your data provider directly with the `--data-provider` option:
7777

7878
```sh
7979
npm create react-admin@latest your-admin-name --data-provider json-server
@@ -92,7 +92,7 @@ bun create react-admin your-admin-name --data-provider none
9292
- **Hard coded local username/password.**
9393
- **None:** No authProvider.
9494

95-
You can set your auth provider directly in the command, without using interactivity:
95+
You can set your auth provider directly with the `--auth-provider` option:
9696

9797
```sh
9898
npm create react-admin@latest your-admin-name --auth-provider local-auth-provider
@@ -106,7 +106,7 @@ bun create react-admin your-admin-name --auth-provider none
106106

107107
## Resources
108108

109-
`create-react-admin` doesn't provide any resource by default. You can add some on `--interactive` mode or you can set your resources directly in the command, without using interactivity:
109+
`create-react-admin` doesn't provide any resource by default. You can add some on `--interactive` mode or you can set your resources with the `--resource` option:
110110

111111
```sh
112112
npm create react-admin@latest your-admin-name --resource posts
@@ -122,14 +122,14 @@ bun create react-admin your-admin-name --resource posts --resource comments
122122

123123
## Package Manager
124124

125-
`create-react-admin` currently supports two templates presets to set the application's auth provider which are:
125+
`create-react-admin` currently supports the following options for package managers:
126126

127127
- **npm**
128128
- **yarn**
129129
- **bun**
130130
- **Don't install dependencies**, you'll do it myself.
131131

132-
You can set your auth provider directly in the command, without using interactivity:
132+
You can set your package manager with the `--install` option:
133133

134134
```sh
135135
npm create react-admin@latest your-admin-name --install npm

0 commit comments

Comments
 (0)