Thanks to everyone having starred my repo! If you like this project, please consider your star
A WordPress starter theme that embraces today's practices: npm, webpack, livereload, declarative manipulation (Vue ❤️).
- Node.js
- Npm
- Clone this repository into your theme folder.
- Open it in a shell and run
npm install
. - Activate the theme.
- Write modern Javascript. Babel does the rest
- Live reload
- SCSS
- Declarative DOM manipulation/events thanks to Vue
- Delightful developer experience through my fake js router that attaches the right component to the right page.
In order to take advantage of livereload, you need to target your wordpress development url in ./scripts/webpack.config.js
line 149 (e.g. localhost:8080, testsite.dev etc).
npm start
npm run build
This theme generates a custom editor style used by the WordPress editor/Gutenberg that you can write in SCSS (./src/editor-style.scss
).
npm run editorstyle
Look no further, try my Wpacked WordPress development starter kit