A simple Wordpress child theme with Webpack for assets compiling. It's a twentyseven child for demo use. Just a starter kit!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Webpack WP theme Starter kit

Webpack Wordpress config

Quick start

# change directory to your wordpress themes folder
$ cd themes
# clone this repo
$ git clone https://github.com/bulini/webpackthemestarter
# install yarn package manager
$ brew install yarn

Build your Wordpress theme

  • go to your theme folder and launch yarn install
  • from the same folder just launch npm run watch
  • change your css using the scss file into assets/sass folder
  • enjoy!

Webpack is watching the files!

  • Now you can edit your theme
  • Edit the scss file inside the assets directory
  • Contact me or visit my blog for more informations