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
- YAML
- JSON
- JS
settings:
templateEngine: '@foal/ejs'
{
"settings": {
"templateEngine": "@foal/ejs"
}
}
module.exports = {
settings: {
templateEngine: "@foal/ejs"
}
}
Version 2
- YAML
- JSON
- JS
settings:
templateEngine: ejs
{
"settings": {
"templateEngine": "ejs"
}
}
module.exports = {
settings: {
templateEngine: "ejs"
}
}