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.
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
Installation
yo
and gulp
:
Install required tools npm install -g yo gulp
generator-stanlee-wptheme
:
Install npm install -g generator-stanlee-wptheme
Run
Create a new directory, and go into:
mkdir my-new-theme && cd $_
yo stanlee-wptheme
, and fill the info:
Run yo stanlee-wptheme
Gulp usage
-
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
Bower usage || Utilisation de Bower
-
Run
bower install --save <package>
to install frontend dependencies -
Run
gulp wiredep
to include SCSS file in/sass/style.scss
License
MIT Copyright (c) 2016 [Thomas & Mathilde]