ijse / freemarker.js

make freemarker available for node.js with FMPP.
http://freemarker.js.org/
MIT License
111 stars 41 forks source link

模板继承 #23

Open xingzhewj opened 7 years ago

xingzhewj commented 7 years ago

请问支持模板继承吗?如@block @override。

ijse commented 7 years ago

freemarker本身并没有 继承 特性,这些是rapid框架提供的,所以目前freemarker.js也是不支持的。

不过有个grunt plugin支持继承: http://github.com/ijse/grunt-freemarker

ijse commented 7 years ago

早期实现的 https://github.com/ijse/FMtoll 是支持继承的,Java封装的cli

xingzhewj commented 7 years ago

明白了,因为node平台原因所以不支持就不换了,多写一点代码就行了。非常感谢!