Gulp workflow for WP theme development using _s.
IMPORTANT: This workflow has been updated to use Gulp 4. You will need to install the Gulp CLI before using:
npm install gulp-cli -g
- Uses ES6 imports with Babel configurations
- Browser refreshing using BrowserSync
- Sass compilation, mapping, auto-prefixing
- Javascript transpiling with Babel, minification, mapping
- JS linting with ES Lint through VSCode.
- Download your copy of _s and install in the "/wp-content/themes/" directory
- Add the files in this respository to the theme folder (you can omit README.md)
- Run npm install
- Set the URL of your local environment in the "projectURL" variable at the top of gulpwp.config.js
- Run the default task (gulp) to get started