Skip to content

Commit ac9e4c7

Browse files
author
Elias Meire
authored
Install react-devtools in the local node_modules instead of global
1 parent d0f7568 commit ac9e4c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

part-one.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,13 @@ yarn react-devtools
231231
or if you use npm,
232232

233233
```
234-
npm install -g react-devtools
234+
npm install --save-dev react-devtools
235235
```
236236

237237
then run it with
238238

239239
```
240-
react-devtools
240+
npx react-devtools
241241
```
242242

243243
```js

0 commit comments

Comments
 (0)