DEV Community

Discussion on: Dynamic Open Graph Meta Tags with VueJS and Node

Collapse
 
sapientia profile image
sapientia

Hello Bill, this looks like the thing I am looking for, because I already tried almost everything, and certainly SSR it is quite complex to implement after the project is almost done(in my case), the only thing I did not get was the cheerio part, do an extra config is needed, besides the installation de package? also do you have a simple example repo of this? I was trying to replicate ur steps but it did not work for me. Thank you in advance for reading...

Collapse
 
js_bits_bill profile image
JS Bits Bill

Sure thing - I have an example on one of my websites here :
github.com/doctafaustus/js-bits/bl...

Cheerio can sometimes show some unexpected results so I would say log everything to make sure you're selecting the correct items before you implement.

Collapse
 
sapientia profile image
sapientia

Amazing, thank you very much, will take a look! Also thanks for the advice :)