3.0.1 • Published 4 years ago
generator-stanlee v3.0.1
Generator-StanLee-WPTheme
Yeoman generator for a WordPress starter theme (using StanLee) with Gulp and other good stuff. This will install the last version of StanLee and optionally a Gulp setup ready for development and production.
Installation
Install required tools yo and gulp:
npm install -g yo gulpInstall generator-stanlee:
npm install -g generator-stanleeRun
Create a new directory, and go into:
mkdir my-new-theme && cd $_Run yo stanlee, and fill the info:
yo stanleeUsage
Run
npm startto start the project and watch changesRun
npm run zipto build your theme for production (you will find amy-new-theme.zipfile inmy-new-theme/dist/)
Bower usage || Utilisation de Bower
- Run
bower install --save <package>to install frontend dependencies