Extract to React

Chrome/Chromium extension that allows easy HTML to React conversion.

什麼是Extract to React?

Extract to React是由Jess Telford開發的Chrome擴展程式,該擴展的主要功能是“Chrome/Chromium extension that allows easy HTML to React conversion.”。

擴展截圖

screenshot
screenshot
screenshot
screenshot

下載Extract to React擴展crx文件

下載Extract to React擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        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:


Hello, world!

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

擴展基本資訊

名稱 Extract to React Extract to React
ID fbdmadiknkkdfcgjdbmddklighibfomm
官方網址 https://chromewebstore.google.com/detail/extract-to-react/fbdmadiknkkdfcgjdbmddklighibfomm
簡介 Chrome/Chromium extension that allows easy HTML to React conversion.
檔案大小 489 KB
安裝次數 2,509
目前版本 1.0.2
更新時間 2019-01-17
上架時間 2019-01-16
評分 1.71/5 共 7 次評分
開發者 Jess Telford
付費類型 free
擴展官網 https://github.com/jesstelford/extract-to-react
說明頁面URL https://github.com/jesstelford/extract-to-react/issues
支援的語言 en-GB
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Extract to React",
    "description": "Chrome\/Chromium extension that allows easy HTML to React conversion.",
    "version": "1.0.2",
    "manifest_version": 2,
    "minimum_chrome_version": "39.0",
    "icons": {
        "16": "gfx\/icon_16.png",
        "48": "gfx\/icon_48.png",
        "128": "gfx\/icon_128.png"
    },
    "devtools_page": "devtools.html",
    "background": {
        "scripts": [
            "js\/background.js"
        ],
        "persistent": false
    },
    "content_security_policy": "script-src 'self' https:\/\/www.google-analytics.com https:\/\/apis.google.com https:\/\/platform.twitter.com https:\/\/www.facebook.com; object-src 'self'"
}