Yeoman generator for a WordPress starter theme (using Underscores) with Gulp and other good stuff. This will install the last version of _s (Underscores) and optionally a Gulp setup ready for development and production.
The generator works only correct with Nodejs v6.x.x. and below.
Reason: not support Nodejs v7.x.x in node-sass module.
Job application ends with the message:
work Error: Node Sass does not yet support your current environment...
npm install -g yo gulpnpm install -g generator-wordpress-s-thememkdir my-new-theme && cd $_yo wordpress-s-theme- Run
gulpto watch for changes - Run
gulp buildto build your theme for production (you will find amy-new-theme.zipfile inmy-new-theme/dist/) - (Optional) Run
gulp build-cleanbeforegulp buildto cleanup themy-new-theme/dist/folder
- Run
bower install --save <package>to install frontend dependencies - Run
gulp wiredepto include SCSS file in/sass/style.scss
Maintained under the Semantic Versioning guidelines.
MIT Copyright (c) 2016 [MNyorba]