开发者 | |
---|---|
更新时间 | 2021年9月12日 20:29 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 5.8.1 |
版权: | GPLv3 |
版权网址: | 版权信息 |
asset-manifest.json
file in your ReactJS build and includes it in wordpress and allows you to run your application anywhere in wordpress.
The only requirement for the plugin is that React Build with the following conditions.
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/.envYou can run the React Build by typing the shortcode in the text editor from within the post, page or widgets.
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.