Skip to content

PentiaLabs/fractal-vash-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vash Adapter

Use Vash templates with Fractal.

See the Fractal view templates guide for details on customisation and usage.

Setup

In fractal.js put in:

const vash = require('@pentia/fractal-vash-adapter')({
    helpersName: 'html'
});

fractal.components.engine(vash);

fractal.components.set('ext', '.cshtml');

And you should be good to go.