Embed React Build
v1.0.3nsei · 2021年5月15日 上架
It is a plugin that allows you to integrate your ReactJS builds into wordpress.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 2,253
- 最近更新
- 2021年9月12日
需要 WordPress 4.7+已测试到 5.8.20PHP 7.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.
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=trueat the end of the url.
(optional)