WordPress starter theme with React.js integrated
Switch branches/tags
Nothing to show
Clone or download
Itzik ben hutta
Itzik ben hutta cache removal
Latest commit 9c639d7 Sep 24, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets first commit Sep 23, 2017
public cache removal Sep 24, 2017
.babelrc first commit Sep 23, 2017
.gitignore IMPROVE: .gitignore file! Sep 24, 2017
README.md syntax fix Sep 23, 2017
footer.php first commit Sep 23, 2017
functions.php first commit Sep 23, 2017
gulpfile.js first commit Sep 23, 2017
header.php header title change Sep 23, 2017
index.php first commit Sep 23, 2017
package.json first commit Sep 23, 2017
postcss.config.js first commit Sep 23, 2017
style.css first commit Sep 23, 2017
webpack.config.js first commit Sep 23, 2017

README.md

WordPress starter theme with React.js integrated.

This theme pretty much includes only a way to compile your assets with React code. It's meant for you to learn React inside WordPress, or to create your own theme. It includes an example component. I'm using Gulp+Webpack to compile the assets. Gulp handles the CSS and running Webpack, while Webpack handles JS.

There are packages you would probably want to use such as Redux/Mobx. I would leave them for you to install.

Clone the theme, run npm install and start playing.

Make sure to modify the BrowserSync proxy link inside the gulpfile.js.

Commands

  1. gulp Will compile, start BrowserSync and watch for any changes.
  2. gulp production Will compile and minify assets.

React devtools

Download it here