mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
docs(CONTRIBUTING): update React DevTools version to 6 (#20014)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
+5
-6
@@ -372,8 +372,7 @@ specific debug settings.
|
|||||||
|
|
||||||
### React DevTools
|
### React DevTools
|
||||||
|
|
||||||
To debug the CLI's React-based UI, you can use React DevTools. Ink, the library
|
To debug the CLI's React-based UI, you can use React DevTools.
|
||||||
used for the CLI's interface, is compatible with React DevTools version 4.x.
|
|
||||||
|
|
||||||
1. **Start the Gemini CLI in development mode:**
|
1. **Start the Gemini CLI in development mode:**
|
||||||
|
|
||||||
@@ -381,20 +380,20 @@ used for the CLI's interface, is compatible with React DevTools version 4.x.
|
|||||||
DEV=true npm start
|
DEV=true npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Install and run React DevTools version 4.28.5 (or the latest compatible
|
2. **Install and run React DevTools version 6 (which matches the CLI's
|
||||||
4.x version):**
|
`react-devtools-core`):**
|
||||||
|
|
||||||
You can either install it globally:
|
You can either install it globally:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g react-devtools@4.28.5
|
npm install -g react-devtools@6
|
||||||
react-devtools
|
react-devtools
|
||||||
```
|
```
|
||||||
|
|
||||||
Or run it directly using npx:
|
Or run it directly using npx:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx react-devtools@4.28.5
|
npx react-devtools@6
|
||||||
```
|
```
|
||||||
|
|
||||||
Your running CLI application should then connect to React DevTools.
|
Your running CLI application should then connect to React DevTools.
|
||||||
|
|||||||
Reference in New Issue
Block a user