plugin-icon

Embed React Build

作者:nsei·
It is a plugin that allows you to integrate your ReactJS builds into wordpress.
版本
1.0.3
活跃安装
20
最后更新
Sep 12, 2021

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)
免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.8.12
这个插件是可用的下载,适用于您的站点。