Skip to content

maantjemol/theme-react-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

theme-react-wordpress

A simple boilerplate theme for wordpress using React. You can read more about setup and installation on my blog: https://manuelmol.nl/blog/29

Installation

Clone the project to your wordpress theme folder

Open a terminal in the project folder and install the project with npm

  git clone https://github.com/maantjemol/theme-react-wordpress
  cd theme-react-wordpress
  npm install

Usage/Examples

Development:

Start the live server with:

  npm run start

Build:

Build the theme with:

  npm run build

Your build theme folder structure should look like this:

\- build
  |- index.css
  |- index.js
  |- index.asset.php
|- style.css
|- index.php
|- functions.php

Related

Here are some related projects I took inspiration from: