-
Notifications
You must be signed in to change notification settings - Fork 2k
replace 'swig' package with a proper solution #1286
Comments
Swig's author recommends https://mozilla.github.io/nunjucks/ |
yeah I saw that but I know there are more (or used to be) popular projects like handlebars, ejb, etc. |
Some reading:
|
Nunjucks is a good and solid alternative |
This article recommends Nunjucks: https://medium.com/@andy.neale/nunjucks-a-javascript-template-engine-7731d23eb8cc#.r4pk2ao30 Seems to be good for a boilerplate since it has potential for more complex stuff but it's still fairly simple and in this case quite similar to good ol' Swig. |
Cool I'll take a look. Thanks @simison |
Nunjucks looks fine to me, but I'm open to other ones as well. |
@hyperreality wrote #1440 (comment):
|
See if we can go with handlebars ( easy to learn, widely used ) and still if in the future we had to switch to some other templating engine it would not be that hard of a job. Lets get the solution ASAP. |
Indeed, working on it. |
This commit introduces handlebars template system and completely replacing Swig and the Consolidate project to handle multiple template systems. Fixes meanjs#1286
Hey guys, |
This commit introduces handlebars template system and completely replacing Swig and the Consolidate project to handle multiple template systems. Fixes #1286
We use the 'swig' package (https://github.com/paularmstrong/swig) for server side templates rendering but this package has been abandoned by it's maintainer and also includes a vulnerability that must be fixed yet no releases area available for it.
I'm open to recommendations for a proper replacement.
The text was updated successfully, but these errors were encountered: