Angular 4和Prerender.io集成

时间:2017-11-02 10:04:27

标签: angular prerender

我正在尝试使用prerender.io作为我的角度4应用程序,但我无法渲染我的html页面

我按照https://github.com/prerender/prerender/tree/chrome abd angular.io/guide/quickstart分别进行了预渲染和角度4

我在当地设置了这两件事 然后通过cmd我分别在不同的端口localhost:3000上运行两个应用程序,用于预渲染和/ localhost:4200用于角度

然后我用了这个网址http://localhost:3000/http://localhost:4200 渲染页面但似乎根本没有加载

prerender.io是与Angular 2和Angular 4兼容还是仅与AngularJs兼容?

0 个答案:

没有答案