I know apache velocity is available for Java and .NET. Is there also a port to JavaScript? My aim is to translate VTL templates inside the browser without a roundtrip to the web server.

有帮助吗?

解决方案

You might want to try jsVelocity. It doesn't look like it supports all Velocity features, but it's a start.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top