Title: Embed React Build
Author: nsei
Published: <strong>2021年5月15日</strong>
Last modified: 2021年9月12日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/embed-react-build.svg)

# Embed React Build

 作者: [nsei](https://profiles.wordpress.org/nsei/)

[ダウンロード](https://downloads.wordpress.org/plugin/embed-react-build.zip)

 * [詳細](https://ja.wordpress.org/plugins/embed-react-build/#description)
 * [レビュー](https://ja.wordpress.org/plugins/embed-react-build/#reviews)
 * [開発](https://ja.wordpress.org/plugins/embed-react-build/#developers)

 [サポート](https://wordpress.org/support/plugin/embed-react-build/)

## 説明

This plugin reads the `asset-manifest.json` file in your ReactJS build and includes
it in wordpress and allows you to run your application anywhere in wordpress.

### Usage

You can run your application embedded in wordpress by typing the following shortcode
in the WordPress text editor.

    ```
    [embed_react_build application_id="root" url="https://react-default.netlify.app"]
    ```

### Shortcode Parameters

 * `application_id` — The name of the container where the React application is mounted.
   (
   default: root) (required)
 * `url` — The URL address of the React Build.
    (required)
 * `staging_url` — The URL address of the React Staging Build. Once defined, you
   can access the staging build by typing `?test=true` at the end of the url.
    (
   optional)

## FAQ

### Is there a requirement for the plugin?

The only requirement for the plugin is that React Build with the following conditions.

 1. You need to compile with a version higher than 3.2.0 of the [Create React App](https://create-react-app.dev/)
    tool so that your build dependencies are read and understood by the plugin.
 2. You need to define `PUBLIC_URL` in the `.env` file for the structure dependencies
    to be properly integrated into the page.
     **For example:** [https://github.com/nurullah/react-default/blob/master/.env](https://github.com/nurullah/react-default/blob/master/.env)

### Where can I embed React Build?

You can run the React Build by typing the shortcode in the text editor from within
the post, page or widgets.

### Will I always need to prepare the shortcode manually?

In the new versions of the plugin, component/block will be created for page builders
such as Gutenberg, WPBakery, Elementor. After those versions, you will be able to
integrate your React application more easily.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Embed React Build はオープンソースソフトウェアです。以下の人々がこのプラグインに
貢献しています。

貢献者

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

[“Embed React Build” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/embed-react-build)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/embed-react-build/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/embed-react-build/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/embed-react-build/)を 
[RSS](https://plugins.trac.wordpress.org/log/embed-react-build/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0.3

 * Fixed issue when copying sample shortcode.

#### 1.0.2

 * WordPress 5.8 compability tested.

#### 1.0.1

 * Readme.txt updated.

#### 1.0.0

 * Plugin name renamed.

#### 0.4.4

 * Readme.txt updated.

#### 0.4.3

 * Readme.md updated.

#### 0.4.2

 * Readme files created.

#### 0.4.1

 * Staging URL parameter added to the shortcode.

#### 0.4

 * The manifest.json file is loaded after runtime.

#### 0.3.1

 * PHP notice fixed.

#### 0.3

 * Shortcode created.

#### 0.2

 * Class created for plugin.

#### 0.1

 * Initial

## メタ

 *  バージョン **1.0.3**
 *  最終更新日 **5年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 4.7またはそれ以降 **
 *  検証済み最新バージョン: **5.8.13**
 *  PHP バージョン ** 7.0またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/embed-react-build/)
 * タグ
 * [build](https://ja.wordpress.org/plugins/tags/build/)[embed](https://ja.wordpress.org/plugins/tags/embed/)
   [react](https://ja.wordpress.org/plugins/tags/react/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/embed-react-build/advanced/)

## 評価

レビューはまだ送信されていません。

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

[すべてのレビューを見る](https://wordpress.org/support/plugin/embed-react-build/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/embed-react-build/)