We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
新需求,实现单页多模块应用,所以想把各模块模版放入各自单独的文件中,比如
The text was updated successfully, but these errors were encountered:
正在开发中的版本有自动化工具,可以把模板编译成不依赖引擎的js文件,模板包含关系需要seajs管理
发自我的 iPhone
在 2013-3-22,上午11:49,chtdomo notifications@github.com 写道:
新需求,实现单页多模块应用,所以想把各模块模版放入各自单独的文件中,比如 是否可以实现模版读取出src中的文件内容,而不是script标签中间的内容? 谢谢 — Reply to this email directly or view it on GitHub.
是否可以实现模版读取出src中的文件内容,而不是script标签中间的内容?
谢谢
— Reply to this email directly or view it on GitHub.
Sorry, something went wrong.
嗯,我现在把模板统一放在一个iframe页面里,各模块的js分开,也还算清晰,新版本出来前暂时这样吧,谢谢
已经发布新版本v2.0
No branches or pull requests
新需求,实现单页多模块应用,所以想把各模块模版放入各自单独的文件中,比如
<script id="template_a" type="text/html" src="js/block/A.js"/> <script id="template_b" type="text/html" src="js/block/B.js"/> 是否可以实现模版读取出src中的文件内容,而不是script标签中间的内容? 谢谢The text was updated successfully, but these errors were encountered: