Skip to content

Commit

Permalink
Improve devtools documentation (#671)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <[email protected]>
  • Loading branch information
JonyEpsilon and sindresorhus authored Sep 9, 2024
1 parent 7fedab0 commit 73795c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2080,8 +2080,7 @@ Check out [ink-testing-library](https://github.com/vadimdemedes/ink-testing-libr

![](media/devtools.jpg)

Ink supports [React Devtools](https://github.com/facebook/react/tree/master/packages/react-devtools) out-of-the-box.
To enable integration with React Devtools in your Ink-based CLI, run it with `DEV=true` environment variable:
Ink supports [React Devtools](https://github.com/facebook/react/tree/master/packages/react-devtools) out-of-the-box. To enable integration with React Devtools in your Ink-based CLI, first ensure you have installed the optional `react-devtools-core` dependency, and then run your app with `DEV=true` environment variable:

```sh
DEV=true my-cli
Expand Down

0 comments on commit 73795c4

Please sign in to comment.