@frctl/mustache-adapter

0.2.2 • Public • Published

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @frctl/mustache-adapter

    Weekly Downloads

    1

    Version

    0.2.2

    License

    MIT

    Last publish

    Collaborators

    • mihkeleidast
    • chapabu
    • tomdavies
    • allmarkedup
    • dkhuntrods