JSPM

thymeleafjs-adapter

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 2
    • Score
      100M100P100Q22337F
    • License UNLICENSED

    This is a Fractal adapter for the thymeleaf-js template engine, this template engine was ported from Java to Js.

    Package Exports

    • thymeleafjs-adapter

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (thymeleafjs-adapter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    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