/wp-react-starter

Initiate plugin development with a React-ready application.

Primary LanguagePHP

WP React Starter

Initiate plugin development with a React-ready application. Say goodbye to installation headaches or React-WP and dive straight into crafting your next plugin masterpiece.

Packages Used

  • WordPress Scripts
  • WordPress Elements

Installing

Prerequisite

  • PHP 7.0+
  • WordPress(latest)
  • Node
  1. Clone the repository from Github
  2. Install Node Packages: npm i
  3. Development Start: npm start
  4. Build: npm run build

Then activate the plugin and you are all set. You should see a admin menu WP React Starter

What's Next?

Navigate to the src/index.js file and start developing your react app inside WordPress plugin & see the action!