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
yo
and gulp
:
Install required tools npm install -g yo gulp
generator-stanlee
:
Install npm install -g generator-stanlee
Run
Create a new directory, and go into:
mkdir my-new-theme && cd $_
yo stanlee
, and fill the info:
Run yo stanlee
Usage
-
Run
npm start
to start the project and watch changes -
Run
npm run zip
to build your theme for production (you will find amy-new-theme.zip
file inmy-new-theme/dist/
)
Bower usage || Utilisation de Bower
- Run
bower install --save <package>
to install frontend dependencies
License
MIT Copyright (c) 2021 [THATMUCH]