M
M
Mikhailo Poberezhny2016-05-04 01:44:11
Angular
Mikhailo Poberezhny, 2016-05-04 01:44:11

How to share on facebook, twitter?

Guys need to make sharing in the social. network, but since I have an angular on the front, I need a prerender, but it is very expensive to use)) tell me how to attach a prerender to a node.
I tried prerender-node but nothing comes to me in the "afterRender" badi.
Throw off a worthwhile example or tell me with a piece of code how this is done, ato rummaged through the tone of info. but it didn't work :(

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yury Egorenkov, 2016-11-12
@as_for_me

Try renderjs.io - while it's free, it will be much cheaper than a prerender later on.

N
Nicholas, 2016-05-04
@healqq

Basically, you can use this thing: https://github.com/steeve/angular-seo
And then it depends on the specific project, since it’s very easy to tweak the phantom code for yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question