-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bat-ria/tpl支持加载amd格式的模板文件 #17
Comments
上次在路上问过这个问题,这个还是要加上是吧? |
cc @otakustay |
嗯,不过我的计划是直接做成JSONP形式的用 |
<div>Template</div> ↓ define(function() { return '<div>Template</div>'; }); @leeight 这么搞么? |
我原本是想搞成这样的,这还涉及到把原来的 |
是的,TplMerge可以输出:
两种形式的代码,一个是普通的文本文件,一个是amd的模块 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: