Title: Embed React app
Author: pavex
Published: <strong>9 Tháng 8, 2018</strong>
Last modified: 26 Tháng 2, 2019

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://ps.w.org/embed-react-application/assets/icon-256x256.png?rev=1922342)

# Embed React app

 Bởi [pavex](https://profiles.wordpress.org/pavex/)

[Tải về](https://downloads.wordpress.org/plugin/embed-react-application.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/embed-react-application/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/embed-react-application/#reviews)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/embed-react-application/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/embed-react-application/)

## Mô tả

This is a simple way how to embed react application in to your post. In my blog,
a wanted include small application, but typical react app is a single page app, 
hardly linked in index.html. He needed a simple way to solve it. The result is visible
on my blog, for example: [Embeding Google Photos album](https://www.publicalbum.org/blog/embedding-google-photos-albums).

### How to do it

You need compiled React app hosted on public url. Find filenames after building 
an application. If you using create-ract-app script, all what you need, find in “
static” directory. Assemble file names into a shortcode like this:

    ```
    [reactapp id="root" js="pathto/static/js/main.000000.js" css="pathto/static/css/main.000000.css"]
    [reactapp id="custom_id" "pathto/static/js/main.000000.js" "pathto/static/css/main.000000.css" "pathto/static/css/another.css"]
    ```

 * id – ID of application root element
 * js[n] – path to Java script bundle
 * css[n] – path to Stylesheet
 * (files are detected automaticly by extension js/css)

That’s all.
 When application was updated, you must setup new links to shortcode.
If you want to more information about this plugin, you may visit [Embedding a React Application to WordPress post](https://www.publicalbum.org/blog/embedding-react-app-wordpress-post)
post in my blog.

#### 1.0.1

_Release Date – 18 January 2019_

 * Multiple script insert for new react build compatibility.

#### 1.0.0

 * React application shortcode.

## Đánh giá

![](https://secure.gravatar.com/avatar/4b1006fbcb45a3d22c3930b4c71d741bc8138f8ce11ba3641209406bb5c00cd9?
s=60&d=retro&r=g)

### 󠀁[Well Done](https://wordpress.org/support/topic/well-done-705/)󠁿

 [heavenhigh027](https://profiles.wordpress.org/heavenhigh027/) 23 Tháng 5, 2022

Nice work

![](https://secure.gravatar.com/avatar/83d4b1c87f5fd2e3217c7cf7cbf994f7cd2ed7849655cb6df8a2f4ba395cc70a?
s=60&d=retro&r=g)

### 󠀁[Works a charm](https://wordpress.org/support/topic/works-a-charm-17/)󠁿

 [Bizzle Dapp](https://profiles.wordpress.org/bizzledapp/) 16 Tháng 4, 2020 3 trả
lời

This is a brilliant plugin and works wonderfully.

![](https://secure.gravatar.com/avatar/e2d8f9a4f32bd204196c055ea776fbb46e63652dac5fe88a895de6d20285c783?
s=60&d=retro&r=g)

### 󠀁[Working perfectly](https://wordpress.org/support/topic/working-perfectly-85/)󠁿

 [berdentay](https://profiles.wordpress.org/berdentay/) 28 Tháng 3, 2020

Thanks for this, appreaciate it

![](https://secure.gravatar.com/avatar/b58ff879150b7d800e92efefb8cd9998bd04e9aee977b33e54c716b3d6aa0968?
s=60&d=retro&r=g)

### 󠀁[works](https://wordpress.org/support/topic/works-1598/)󠁿

 [markhorsell](https://profiles.wordpress.org/markhorsell/) 13 Tháng 8, 2019

Thanks

![](https://secure.gravatar.com/avatar/31645687d5cf2e3c63ddce9d02d5b35e25f2bc82901eabd09e7cf2ce490835a7?
s=60&d=retro&r=g)

### 󠀁[good](https://wordpress.org/support/topic/good-4488/)󠁿

 [phuongchi123](https://profiles.wordpress.org/phuongchi123/) 20 Tháng 5, 2019

good

 [ Đọc tất cả 5 đánh giá ](https://wordpress.org/support/plugin/embed-react-application/reviews/)

## Người đóng góp & Lập trình viên

“Embed React app” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ pavex ](https://profiles.wordpress.org/pavex/)

[Dịch “Embed React app” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/embed-react-application)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/embed-react-application/),
check out [SVN repository](https://plugins.svn.wordpress.org/embed-react-application/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/embed-react-application/)
qua [RSS](https://plugins.trac.wordpress.org/log/embed-react-application/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Phiên bản **1.0.1**
 *  Cập nhật lần cuối **7 năm trước**
 *  Số lượt cài đặt **200+**
 *  Phiên bản WordPress ** 4.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **5.1.22**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/embed-react-application/)
 * Thẻ
 * [embed](https://vi.wordpress.org/plugins/tags/embed/)[react](https://vi.wordpress.org/plugins/tags/react/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/embed-react-application/advanced/)

## Đánh giá

 4.8 trên 5 sao.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/embed-react-application/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/embed-react-application/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/embed-react-application/reviews/)

## Những người đóng góp

 *   [ pavex ](https://profiles.wordpress.org/pavex/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/embed-react-application/)