Skip to content

Experimental Wordpress theme using React (and other cool stuff)

Notifications You must be signed in to change notification settings

zairl23/react-wp

Repository files navigation

Attempt at a ReactJS based them for Wordpress

Implementation

  • ReactJS
  • RefluxJS
  • WP-API (server plugin and node.js client)
  • Gulp + Browserify

Running

Install dependencies with npm.

npm install

npm install browser-sync --save-dev

Building

This project comes with a gulp task to compile less and JS files (using browserify), as well as a watch task to rebundle and update via browser-sync. There is no default task yet, I recommend just demo-ing with 'gulp watch'.

You will need to change (or remove) to the proxy definition for browser-sync in gulp/config.js

To bundle JS and compile LESS:

gulp build

For watch & browser-sync:

gulp watch

TODO

  • Default gulp task
  • Uglify/minify in build task

Credit

Much of the Gulp task workflow was created by Dan Tello.

ReactJS Project

RefluxJS and it's creator Mikael Brassman

WP-API and K.Adam White for the node.js client

About

Experimental Wordpress theme using React (and other cool stuff)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published