0.2.2 • Published 8 years ago

@frctl/mustache-adapter v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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