Linux 软件免费装

Embed React Build

开发者
更新时间 2021年9月12日 20:29
PHP版本: 7.0 及以上
WordPress版本: 5.8.1
版权: GPLv3
版权网址: 版权信息

标签

embed build react

下载

1.0.0 1.0.1 1.0.2 1.0

详情介绍:

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.

常见问题:

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

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.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0 0.4.4 0.4.3 0.4.2 0.4.1 0.4 0.3.1 0.3 0.2 0.1