React WordPress Frontend
This project provides a React-based frontend for the MakeMyBrand plugin, which allows users to generate and manage infographic images directly within their WordPress posts.
- Node.js and npm installed on your machine.
- WordPress installation with the MakeMyBrand plugin.
- Clone the repository or download the source code.
- Navigate to the project directory:
cd path/to/react-wordpress-frontend
- Install the necessary dependencies:
npm install
To compile the React code, run the following command:
npm run build
After building the project, you need to copy the compiled script into the appropriate directory:
- Copy the makemybrand-block-editor.js file to the
assets
folder: - Copy the entire
assets
folder into your WordPress plugin folder where the MakeMyBrand Infographics plugin is located.
Once the assets
folder is copied, the React components will be available within the WordPress admin interface for use in post creation and editing.
This project is licensed under the GNU General Public License v2. See the LICENSE file for more details.