美文网首页
React Devtools调试工具安装

React Devtools调试工具安装

作者: 前端来入坑 | 来源:发表于2020-02-13 16:59 被阅读0次

github下载地址

npm install
npm run build:extension:chrome

安装成功:


image.png

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

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

相关文章

网友评论

      本文标题:React Devtools调试工具安装

      本文链接:https://www.haomeiwen.com/subject/ysrlfhtx.html