@wondrousllc/fractal-twig-drupal-adapter

Twig template adapter for Fractal with Drupal 8 directives.


Keywords
drupal, drupal-8, fractal, twig
License
MIT
Install
npm install @wondrousllc/fractal-twig-drupal-adapter@1.1.0

Documentation

Twig Adapter

An adapter to let you use Twig templates with Fractal.

Installation

$ npm install --save fractal-twig-drupal-adapter

in your fractal.js

const fractal = require('@frctl/fractal').create();
const twigAdapter = require('fractal-twig-drupal-adapter');
const twig = twigAdapter({
  handlePrefix: '@components/',
});

Creator

WONDROUS LLC

License