Lewati ke konten utama
Versi: v2

Template Engine

Starting from version 2, only Express-compatible template engines are supported (EJS, pug, Jade, Twig, etc).

The @foal/ejs package

Therefore the package @foal/ejs has been removed. If you used it, update your configuration file as follows:

npm uninstall @foal/ejs
npm install ejs

Version 1

settings:
templateEngine: '@foal/ejs'

Version 2

settings:
templateEngine: ejs