Skip to content

Gulp Tasks

SEO Themes edited this page Jul 28, 2020 · 1 revision

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.

Clone this wiki locally