In Gridsome:
Seems like what is in metaInfo gets generated after mount, which results in no link preview when scraped by facebook.
The og:title, description and image are visible on client side.
How to get it generate on build so it would be in .html straight away?
I've been only able to add global data with head.meta.push({}) in main.js
Solution: move
metaInfointoApp.vue.Seems like it only renders
App.vuewhen building and it will only call ametaInfo()in there - where you can use the metadata obj fromgridsome.server.jsmethodcreatePage().