-
tmodjs 在使用的时候,的确带来了很大的便利 但同样也出现了一些问题希望能够得到解决
例如 我在写页里的时候。有些页面或者文件夹只是做测试使用。并不想让其编译到templatejs里。因为那样会增大文件[影响速度当文件多的时候???]。
当然按Doc 上说的 可以取消掉合并combo:false 按需要的使用 但文件还是会编译到build 文件下面。而我只想要一些自己需要编译的文件 如…
-
嘿嘿 真正使用起来 需求有点多 不好意思哈
因为页面有N个,每个页面调用的模板不一样,那如果把所有模板放到一个TEMPLATE.JS里,这个JS显得太大,是否可以提供一种定制方法
如在PACKAGE.JS里
output: {
page1:['模板1','模板2','模板3','模板4'],
page2:['模板1','模板4'],
…
-
```
往返单程
单程
往返
出发
到达
去程日期
…
-
![qq 20141112022037](https://cloud.githubusercontent.com/assets/5978574/4998289/07048b0c-6a12-11e4-92dd-664b4e403f41.jpg)
目录结构
![1](https://cloud.githubusercontent.com/assets/5978574/4998309/3af3e840…
-
结合 babelify 使用的时候,babelify 会重新编译代码,导致 [runtime.js](https://github.com/aui/tmodjs/blob/master/src/runtime.js#L14) 的`this`指向`undefined`:
``` js
var String = this.String;
```
建议改成:
``` js
var String =…
-
我定义了一个辅助方法aa,然后修改配置文件,找到aa所在的js,此时是按最小化压缩,重启tmod,重新编译后,辅助方法aa,无法调用。
将配置文件中的最小化压缩去掉,重启tmod,重新编译后,辅助方法aa可以调用。
-
![n 44 ifc _prcpk 9 _42](https://cloud.githubusercontent.com/assets/1877144/3357314/4a494478-facf-11e3-83eb-d00a401ba282.jpg)
pulo updated
10 years ago
-
由于工作原因,不在使用tmod.
所以现在想找一个负责人或者直接把项目转交出来。
有意者请留言
-
前端技术日新月异,前端字符串模板引擎已经逐步被 DOM 模板引擎所取代,以至于 art-template 一度停止维护。
现在,art-template 重新回归,带来了全新的 v4 版本。v4 对 NodeJS 进行了更好的支持,并且拥有领先的渲染性能,同时带来了全家桶:[express-art-template](https://github.com/aui/express-art-te…
-
https://github.com/aui/tmodjs