结节
在node.js应用程序中用于处理 (又称Soy)的实用程序。 支持动态重新编译和加载,以便在开发过程中快速迭代。
正在安装
任何一个:
从GitHub分支,克隆或下载源代码,或者
使用NPM npm install nodesoy通过NPM npm install nodesoy
用法
var nodesoy = require ( '../lib/nodesoy' )
nodesoy . setOptions ( {
outputDir : '/tmp/nodesoy-example'
, allowDynamicRecompile : true
} )
nodesoy . compileTemplates ( __dirname , function ( err ) {
if ( err ) throw err
// Templates are now
评论0
最新资源