Closed szyjava closed 9 years ago
"tmodjs-config": { "source": "./static/tpl", "output": "./build", "charset": "utf-8", "combo": true, "helpers": null, "syntax": "native", "minify": true, "async": false, "engine": true, "escape":false, "cache":false, "type": "default" }
配置的简易语法
可是输出成原文件啦 传入的变量就没起作用 直接返回来原字符串
"syntax": "simple" 才是你要的语法
"syntax": "simple"
ok 发现了也改正过来啦 可是在输出的template.js文件中 压缩出错啦 { [Error: Uglification failed. Unexpected token: punc ()). 这是为什么啊?
"tmodjs-config": { "source": "./static/tpl", "output": "./build", "charset": "utf-8", "combo": true, "helpers": null, "syntax": "native", "minify": true, "async": false, "engine": true, "escape":false, "cache":false, "type": "default" }
配置的简易语法
可是输出成原文件啦 传入的变量就没起作用 直接返回来原字符串