Closed payner35 closed 8 years ago
If it's with phantomjs this is rendered dynamically. You can see it with the view-source. But with inspect elements.
If it's FlowRouter SSR, then you should do it someplace other than componentDidMount
. That hook never runs in the server.
So I must use Spiderable package to make this work.. (unless FlowRouter SSR)
@payner35 yep.
Would this work with prerender.io?
ya... should do.. prerender works the same way as spiderable I believe.
Im sure this is a basic problem.. but i cant get dochead to work at all?
I have tried to add it in a component... in a container.. in a componentDidMount etc..
i view source.. and do not see the meta.
Do i need Spiderable / phantom.js to make this work?
Im using Mantra.. not using Flow-Router SSR