The problem of SPA doing SEO, pre-rendering

because SEO, is a SPA single-page application, webpack"s prerender-spa-plugin is used for pre-rendering.

but it is found that the contents of the index.html under the generated routing folder are only the header and tail (my header and footer are written in App.vue).
this is embarrassing. Our product says that as a SEO, the whole page should be rendered to Baidu Spider.

do you have a good idea?
beg on your knees!

-Separator-

after sending out the problem 17min, I set up my configuration according to the demo on github.
but it seems that only part of the body, has been rendered, and there is still a lot of content that does not exist. How can this be good?.

Apr.23,2021

have you solved


whether routing is used to cause part of the js to be loaded dynamically? Can dynamic routing be made into Synchronize when pre-rendered, that is, it can be distinguished from the normally displayed page

Menu