“Extract to React”的产品徽标图片

Extract to React

1.7(

7 个评分

)
扩展程序开发者工具1,000 用户
Extract to React的项目媒体 4(屏幕截图)
Extract to React的项目媒体 1(屏幕截图)
Extract to React的项目媒体 2(屏幕截图)
Extract to React的项目媒体 3(屏幕截图)
Extract to React的项目媒体 4(屏幕截图)
Extract to React的项目媒体 1(屏幕截图)
Extract to React的项目媒体 1(屏幕截图)
Extract to React的项目媒体 2(屏幕截图)
Extract to React的项目媒体 3(屏幕截图)
Extract to React的项目媒体 4(屏幕截图)

概述

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/)

1.7 星(5 星制)7 个评分

详细了解结果和评价。

详情

  • 版本
    1.0.2
  • 上次更新日期
    2019年1月16日
  • 提供方
    Jess Telford
  • 大小
    489KiB
  • 语言
    English (United Kingdom)
  • 非交易者
    该开发者尚未将自己标识为交易者。欧盟地区消费者须知:消费者权利可能不适用于您与该开发者达成的合约。

隐私权

该开发者未就收集或使用您的数据提供任何相关信息。

支持

若有任何疑问、建议或问题,请在桌面浏览器中打开此页面

Google 应用