Vash adapter
Use Vash templates with Fractal.
This version of the adapter has been developed and tested with Fractal v1.0.8.
Usage
Install via NPM:
npm i vash-adapter --save
Then add configuration details into your fractal.js file:
let path = ;const view_ext = 'cshtml'; // or maybe 'vash' for your project? /* * Set up Vash as the fractal engine through the vash-adapter. */const fractal = moduleexports = ;let vash_adapter = modelName: 'Model' helpersName: 'Html' settings: views: path 'view engine': view_ext ; fractalcomponents; /* * Tell Fractal where to look for components. */fractalcomponents;fractalcomponents;