Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mehmetsunguralp/wordpress-cleanup-for-react-js/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
- Edit
react-blank.phpfor adding fonts. - Put your built files (HTML, favicon, assets folder etc.) into the dist folder.
- Zip react-site.php, react-blank.php and the build folder.
- Upload it to the wordpress as a custom extension.
- Create a page on wordpress and add this plain text as a code
[react_app], this will enable wordpress to utilize our custom extension for that exact page. - Publish your page and you are good to go