thymeleafjs-adapter
v1.0.0
Published
This is a Fractal adapter for the thymeleaf-js template engine, this template engine was ported from Java to Js.
Downloads
12
Maintainers
Readme
Thymeleaf Adapter
Use Thymeleaf templates with Fractal.
Usage
Install via NPM:
npm i thymeleafjs-adapter
Then configure your Fractal instance:
fractal.components.engine('thymeleafjs-adapter');
// register the thymeleaf engine adapter for your components
fractal.components.set('ext', '.html');
// look for files with a .thymeleaf file extension