Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 915 Bytes

README.md

File metadata and controls

51 lines (34 loc) · 915 Bytes

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: