Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 624 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 624 Bytes

react-in-wp-admin

Boilerplate setup for a React & ES6 WordPress plugin.

This plugin adds a menu item to your wp-admin, which will load a very simple react component.

It's a work in progress! Feel free to open any issues and submit PR's :)

Getting Started

  1. Install Node.js
  2. npm install within plugin directory.
cd /path/to/wordpress/wp-content/plugins/wp-react-boilerplate
npm install
gulp

Gulp

This repo uses Gulp and webpack to concatenate files.

gulp - (default) Will run build tasks for css and react js

gulp watch - Will watch files and update when changed.