Skip to content

Commit c0cb320

Browse files
committed
Fix Create-react-admin usage
1 parent 132f1cb commit c0cb320

File tree

1 file changed

+4
-4
lines changed
  • packages/create-react-admin/src

1 file changed

+4
-4
lines changed

packages/create-react-admin/src/cli.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,18 +80,18 @@ const cli = meow(
8080
8181
Options
8282
--interactive Enable the CLI interactive mode
83-
--data-provider Set the data provider to use ("ra-data-fakerest", "ra-data-simple-rest", "ra-data-json-server", "ra-supabase" or "none")
83+
--data-provider Set the data provider to use ("fakerest", "simple-rest", "json-server", "supabase" or "none")
8484
--auth-provider Set the auth provider to use ("local-auth-provider" or "none")
8585
--resource Add a resource that will be initialized with guessers (can be used multiple times). Set to "skip" to bypass the interactive resource step.
8686
--install Set the package manager to use for installing dependencies ("yarn", "npm", "bun" or "skip" to bypass the interactive install step)
8787
8888
Examples
8989
$ npx create-react-admin@latest my-admin
90-
$ npx create-react-admin@latest my-admin --data-provider ra-data-json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
90+
$ npx create-react-admin@latest my-admin --data-provider json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
9191
$ yarn create react-admin@latest my-admin
92-
$ yarn create react-admin@latest my-admin --data-provider ra-data-json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
92+
$ yarn create react-admin@latest my-admin --data-provider json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
9393
$ bun create react-admin@latest my-admin
94-
$ bun create react-admin@latest my-admin --data-provider ra-data-json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
94+
$ bun create react-admin@latest my-admin --data-provider json-server --auth-provider local-auth-provider --resource posts --resource comments --install npm
9595
`,
9696
{
9797
flags: {

0 commit comments

Comments
 (0)