I'm developing a SPA using Vue.js, using vue-router and for Google, from what I've been researching, it can index the generated content via javascript. Now for social networks, for example Facebook, when we are going to share a link in the post it generates a preview of the page that will be displayed in the link.
Are Facebook and other social networks able to render your site with content being generated via javascript?
In my application I will not have this problem because I am doing it within the theme in Wordpress and I am using the header of WP <?php wp_head(); ?>
itself, but I was left with that doubt.
If it is not an application that needs to be completely separate from the backend, how does it get? Is it necessary to use a prerender?