Extract to React Chrome 插件, crx 扩展下载
Chrome/Chromium extension that allows easy HTML to React conversion.
Extract all the HTML & CSS of any portion of any website directly into a ready-to-go React Component! ---- # Usage - Quick start: Inspect an element on the page > "Extract To React" tab > Extract the code to CodePen or JSFiddle. - Advanced usage: It is possible to split a monolithic component up into multiple nested components. Find the elements you wish to become their own component in the "Elements" tab. Add an attribute called `data-component`. Set the value of `data-component` to be the extracted name of the component: <h1 class="heading" data-component="Heading">Hello, world!</h1> <nav class="nav" data-component="Nav"> <ul class="list"> <li class="list-item" data-component="ListItem">#1</li> <li class="list-item" data-component="ListItem">#2</li> </ul> </nav> Will result in 3 components being extracted: `Heading`, `Nav`, and `ListItem` ---- # Bugs and Features If you find a bug or have a feature request, please create an issue on GitHub: https://github.com/jesstelford/extract-to-react/issues ---- # Attribution This project is based on excellent open source software: * SnappySnippet: Chrome/Chromium extension that allows easy CSS+HTML extraction of specific DOM element. Created snippet can be then exported to CodePen, jsFiddle or JS Bin with one click. (https://github.com/kdzwinel/SnappySnippet/issues) * html-to-react-components: Extract annotated portions of HTML into React components as separate modules. (https://roman01la.github.io/html-to-react-components/)
分类 | 💻开发者工具 |
插件标识 | fbdmadiknkkdfcgjdbmddklighibfomm |
平台 | Chrome |
评分 |
☆☆☆☆☆
|
评分人数 | |
插件主页 | https://chromewebstore.google.com/detail/extract-to-react/fbdmadiknkkdfcgjdbmddklighibfomm |
版本号 | 8.3 |
大小 | 489KiB |
官网下载次数 | 2000 |
下载地址 | |
更新时间 | 2019-01-17 00:00:00 |
CRX扩展文件安装方法
第1步: 打开Chrome浏览器的扩展程序
第2步:
在地址栏输入: chrome://extensions/
第3步: 开启右上角的【开发者模式】
第4步: 重启Chrome浏览器 (重要操作)
第5步: 重新打开扩展程序管理界面
第6步: 将下载的crx文件直接拖入页面完成安装
注意:请确保使用最新版本的Chrome浏览器