Skip to content

Experimental Wordpress theme using React (and other cool stuff)

Notifications You must be signed in to change notification settings

EugeneLiang/react-wp

 
 

Repository files navigation

Attempt at a ReactJS based them for Wordpress

WARNING

This project was just a proof of concept. It is not something I am actively developing and is currently using outdated versions of React and other libraries.

Implementation

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

Running

Install dependencies with npm.

npm install

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

Languages

  • JavaScript 83.6%
  • PHP 9.9%
  • HTML 3.6%
  • CSS 2.9%