@frctl/mustache-adapter

v0.2.2
Use Mustache templates with Fractal.

Mustache Adapter

Use Mustache templates with Fractal.

Usage

Install via NPM:

npm i @frctl/mustache-adapter --save

Then add configuration details into your fractal.js file:

const fractal = require('@frctl/fractal');

fractal.engine('mustache', '@frctl/mustache-adapter'); // register the mustache engine adapter

fractal.set('components.engine', 'mustache'); // use the mustache handler
fractal.set('components.ext', '.mustache'); // look for files with a .mustache file extension
npm i @frctl/mustache-adapter

Metadata

  • MIT
  • Whatever
  • Clearleft
  • released 4/29/2016

Downloads

Maintainers