1.5.4 • Published 4 years ago

generator-brainsum-drupal v1.5.4

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

BRAINSUM's Drupal 8 theme generator

## Table of Contents

  • About
  • Installation
  • Usage

About

You can generate a minimal Drupal 8 theme via BRAINSUM's Drupal 8 theme generator. It use Yeoman as scaffolding tool so you will need to install it first. Currently the generated theme based on core's Classy base theme (it will be optional). Build process powered by Gulp.js 4 and asset files (sass, css, js) structured, linted and compiled according to Drupal Coding Standards. You will can equally run build processes by gulp commands or npm scripts.

Installation

You will need node.js and yo, npm, generator-brainsum-drupal, gulp-cli (min 4.0.0) globally installed to working with the generator and generated theme. If your node.js version is different you may need to install nvm too.

npm install -g npm
npm install -g gulp-cli
npm install -g yo
npm install -g generator-brainsum-drupal

Usage

cd {project}/web/themes/custom/{themeMachineName}
nvm use // optional
yo brainsum-drupal

The generator will run npm install so you won't need to run it. After installation check the generated files ex. git repo in package.json.