grunt-tmod
grunt-tmod copied to clipboard
提示tmodjs
Warning: Cannot read property 'tmodjs' of undefined Use --force to continue. tmod: { template: { src: './<%=temPath%>/detail.html', dest: './<%=srcPath%>/template.js', options: { syntax : 'native', runtime: 'template.js' } } }, 我是使用npm install grunt-tmod --save-dev安装 求解
Running "tmod:template" (tmod) task
[D] Task source: /Users/sa/YYCode/apps/live_main-stable/main/front/live2/node_modules/grunt-tmod/tasks/tmod.js
Warning: Cannot read property 'tmodjs' of undefined Use --force to continue.
tmod: {
template: {
src: '<%= src_path %>tpl/*.html',
dest: '<%= src_path %>js/template.js',
options: {
charset : "utf-8",
type: "template.js",
combo: true
}
}
},
the same issue as @sa03
相同的问题
同上。
同上
求解答,什么状况
。。。能不能用啊,我去~