Skip to content

Commit e37294a

Browse files
authored
We need to specify the generator because the default is Next. (#1296)
1 parent c607d13 commit e37294a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client-generator/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Omit the resource flag to generate files for all resource types exposed by the A
6161
If you don't use the standalone installation, run the following command instead:
6262

6363
```console
64-
npx @api-platform/client-generator https://demo.api-platform.com src/ --resource book
64+
npx @api-platform/client-generator https://demo.api-platform.com src/ --resource book -g react
6565
```
6666

6767
Replace the URL with the entrypoint of your Hydra-enabled API.

0 commit comments

Comments
 (0)