【发布时间】:2013-12-01 04:06:30
【问题描述】:
我有一个小要求,我想在 durandal(单页应用程序)的 productsearch.html 中包含 productresults.html 文件。任何人都可以帮助我,我也尝试了以下方法。
<link rel="components" href="productResults.html">
<!--#include virtual="productSearch.html" -->
谢谢,
湿婆
【问题讨论】:
-
你想要做的是Server side include。您的网络服务器必须配置为支持它 - 听起来您的服务器可能不支持?
标签: html knockout.js durandal single-page-application