BACK TO DIRECTORY

Embed React Build

by nsei

0.0
(0 ratings)

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)

Plugin Details

Active Installs
10
Total Downloads
2,077
Version
1.0.3
Requires WP
4.7
Requires PHP
7.0
Tested Up To
5.8.15
Added
2021-05-15
Last Updated
2021-09-12 12:29pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0