- node 18.x
- 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
Copy built files to a Drupal theme folder.
THEME_DIR=/path/to/theme npm run deploy