javascript - Private prerender server wont render angularjs scripts? -
i want create prerendered pages search engines. using mean stack (mongo,express,angular,node). decided create own prerender server.
i have deployed heroku following commands:
$ git clone https://github.com/prerender/prerender.git $ heroku create $ git push heroku master
and have own prerender server, work if add /https://www.google.com
or /http://stackoverflow.com
.
but doesn't work angular app, deployed on heroku.
can write http://mysites.com/?_escaped_fragment_=thinkpad/t-400
and bunch of {{not rendered angular}}
i have <meta name="fragment" content="!">
in index.html
.
i have
app.use(require('prerender-node').set('prerenderserviceurl', 'prerender-server-url'));
in express.js
.
how can make work?
verify not using newer es6 features supported browsers, not yet supported prerender
js engine.
Comments
Post a Comment