nunjucks簡單上手

Nunjucks是Mozilla開發的一個純JavaScript編寫的模板引擎,既能夠用在Node環境下,又能夠運行在瀏覽器端javascript 安裝 npm install nunjucks 使用 渲染字符串 let nunjucks=require('nunjucks'); nunjucks.configure({autoescape: true}); let ret = nunjucks.
相關文章
相關標籤/搜索