Gulp Tasks - maithemewp/mai-engine GitHub Wiki
Build
Compiles CSS, JS, language files and optimizes images.
Create
Flags:
--name
- Sets the theme name.--composer
- Optional. Installs theme Composer dependencies.
Example command:
gulp create --name example
Running the Gulp Create task from the root of the mai-engine
plugin directory will create a new Genesis child theme in the wp-content/themes
directory.
The --name
flag lets you specify the name to be used. E.g, setting the name to example
will create the following:
wp-content/themes/mai-example
The theme name will be automatically prefixed with Mai.