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.
Générateur Yeoman pour un thème de démarrage de WordPress (Utilisant StanLee). Utilise Gulp et d'autres bonnes choses. Cela permet d'installer la dernière version de StanLee
et optionnellement une configuration de Gulp prêt au développement et la production.
Installation Version FRANCAISE
npm install -g yo gulp
npm install -g generator-stanlee-wptheme
mkdir my-new-theme && cd $_
yo stanlee-wptheme
-
Run
gulp
to watch for changes -
Run
gulp build
to build your theme for production (you will find amy-new-theme.zip
file inmy-new-theme/dist/
) -
(Optional) Run
gulp build-clean
beforegulp build
to cleanup themy-new-theme/dist/
folder
-
Run
bower install --save <package>
to install frontend dependencies -
Run
gulp wiredep
to include SCSS file in/sass/style.scss
MIT Copyright (c) 2016 [Thomas & Mathilde]