Mac系统Chrome浏览器安装React DevTools调试工具

一、下载

  官网地址:https://github.com/facebook/react-devtools

使用Sourcetree克隆react-devtools-master文件夹到本地


二、npm安装依赖

shift+command+G --》(快捷键)定位到master所在的目录

终端输入命令安装:npm --registry https://registry.npm.taobao.org install


三、npm打包

安装完后,build(打包)一份扩展程序:npm run build:extension:chrome


四、Google浏览器安装扩展程序

浏览器输入:chrome://extensions

接下来,就是enjoy了!

​​​​​​​

发布了208 篇原创文章 · 获赞 645 · 访问量 212万+

猜你喜欢

转载自blog.csdn.net/Appleyk/article/details/103003427