Skip to content

apatt124/wp-react-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter project for a WordPress plugin to deliver a React mini-app

  1. Clone repository into plugins directory of WordPress
  2. From base directory of plugin, run composer install
  3. From js directory below that, run npm install
  4. From base directory, edit wp-react-app.php to have your name and description for your plug-in in the comment area
  5. Modify files in php directory to reflect your needs including ajax calls
  6. Update css and js files for your react app
  7. Run webpack to create your included js file
  8. In WordPress admin area, create page for your app
  9. Add shortcode as defined in your php function file
  10. Activate your plugin
  11. Navigate to your page``

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.0%
  • PHP 3.0%