tmodjs icon indicating copy to clipboard operation
tmodjs copied to clipboard

tmodjs预编译问题

Open hpl934n opened this issue 11 years ago • 1 comments

使用tmodjs预编译html模板成js文件,编译出来的页面代码如下: image

在页面当中运行代码的时候 页面如下图: image

请问出现这种情况是怎么回事?我编译为amd模式的

hpl934n avatar Jul 21 '14 06:07 hpl934n

tmodjs 与 artTemplate 新版都默认支持的是简洁版语法,如果写原生语法,请修改配置文件 package.json,指定syntax : 'native'

aui avatar Jul 21 '14 12:07 aui