【发布时间】:2015-05-31 11:10:57
【问题描述】:
所以,我正在使用 MEAN 堆栈,并且我的登录页面包含许多 Angular ng-include。例如:
<div data-ng-include="'/modules/landing/views/sections/features.client.view.html'">
我也在使用 mean-seo:https://github.com/meanjs/mean-seo。如果通过 ?_escaped_fragment_= 检测到爬虫,这实际上只是使用 phantomjs 呈现页面。
我的问题是通过 ng-include 包含的部分不是由 mean-seo 渲染的,即由 phantomjs。
如果你有任何想法为什么会这样,如果你能分享它们会很棒!
【问题讨论】:
标签: javascript angularjs seo phantomjs mean-stack