Runkit
Runkit
home page
user forum
new notebook
support & documentation
log in
sign up
new notebook
documentation & support
Sign In
Sign Up
ezio's notebooks
RunKit + npm: thymeleaf
-
/ezio/runkit-npm-thymeleaf
Last edited 6 years ago
- from:
https://npm.runkit.com/thymeleaf
var thymeleaf = require("thymeleaf"); var templateEngine = new thymeleaf.TemplateEngine(); templateEngine.process('<div thjs:text="${greeting}">(greeting)</div>', { greeting: 'Hello!' }).then(result => console.log(result));