使用 Framework7 打开非索引页面
Open not index page with Framework7
我尝试用 Framework7 打开 link。
例如我需要打开
但它打开 about.html 没有 Framework7
我要引用Framework7文档中的一段话
https://framework7.io/docs/pages-ajax.html
By default Framework7 will load all links using Ajax, except links with additional external class (<a href="somepage.html" class="external">
) and links with not correct href attribute (when it is empty or #).
This behavior could be changed by passing ajaxLinks parameter on App initialization
如果要使用 Framework7 加载外部 link,请确保已将额外的 class="external"
添加到 link。
我尝试用 Framework7 打开 link。 例如我需要打开
但它打开 about.html 没有 Framework7
我要引用Framework7文档中的一段话
https://framework7.io/docs/pages-ajax.html
By default Framework7 will load all links using Ajax, except links with additional external class (
<a href="somepage.html" class="external">
) and links with not correct href attribute (when it is empty or #). This behavior could be changed by passing ajaxLinks parameter on App initialization
如果要使用 Framework7 加载外部 link,请确保已将额外的 class="external"
添加到 link。