/middmag-frontend

Primary LanguageTwigGNU General Public License v3.0GPL-3.0

middmag-frontend

Requires

  • node 18.x

Getting started

  • Clone repo
  • cd middmag-frontend
  • Install node packages npm install
  • Build templates/css/js npm run build
  • OR npm start to run build tasks + local server with livereload

Deploy

Copy built files to a Drupal theme folder.

THEME_DIR=/path/to/theme npm run deploy