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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e473df-665bc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e473df-665bc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?