React Devtools调试工具安装

github下载地址

npm install
npm run build:extension:chrome

安装成功:


React Devtools调试工具安装_第1张图片
image.png

并且会在你的项目目录中生成一个新的文件夹,react-devtools-3\react-devtools-3\shells\chrome\build\unpacked文件夹

  • 打开chrome扩展程序chrome://extensions/,加载已解压的扩展程序,选择生成的unpacked文件夹就成功了 或者从(更多工具->扩展程序)打开加载打包的程序包,加载完成重新打开谷歌浏览器。
    React Devtools调试工具安装_第2张图片
    image.png

你可能感兴趣的:(React Devtools调试工具安装)