admin管理员组文章数量:1026134
1.去到react的github上找到插件,并下载 https://github/facebook/react-devtools/tree/v3
项目解压,如下图所示
2.打开cmd界面,使用cd命令进入刚下载的项目
C:\Users\asus>d:
D:\>cd D:\google下载\react-devtools
3.使用npm命令安装,使用此命令需要先安装
D:\google下载\react-devtools>npm --registry https://registry.npm.taobao install
4.然后在npm run build:extension:chrome
D:\google下载\react-devtools-3>npm run build:extension:chrome
出现如下
The Chrome extension has been built!
You can test this build by running:e下载\react-devtools-3
> node ./shells/chrome/build
# From the react-devtools root directory:w seconds
yarn run test:chrome
⠇ Building extension - this may take a few seconds
安装成功
5.在之前下载的插件项目里面,找到下图的路径
打开chrome浏览器的扩展程序页面,chrome://extensions/
将unpacked文件夹拖入chrome浏览器里面
到这里,就成功了。
1.去到react的github上找到插件,并下载 https://github/facebook/react-devtools/tree/v3
项目解压,如下图所示
2.打开cmd界面,使用cd命令进入刚下载的项目
C:\Users\asus>d:
D:\>cd D:\google下载\react-devtools
3.使用npm命令安装,使用此命令需要先安装
D:\google下载\react-devtools>npm --registry https://registry.npm.taobao install
4.然后在npm run build:extension:chrome
D:\google下载\react-devtools-3>npm run build:extension:chrome
出现如下
The Chrome extension has been built!
You can test this build by running:e下载\react-devtools-3
> node ./shells/chrome/build
# From the react-devtools root directory:w seconds
yarn run test:chrome
⠇ Building extension - this may take a few seconds
安装成功
5.在之前下载的插件项目里面,找到下图的路径
打开chrome浏览器的扩展程序页面,chrome://extensions/
将unpacked文件夹拖入chrome浏览器里面
到这里,就成功了。
版权声明:本文标题:在chrome(谷歌)浏览器中安装react插件 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1737987192a1530734.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论