How does the vue single-page application add meta headers and pre-rendering to dynamically routed pages?

how does the vue single-page application add meta headers and pre-rendering to dynamically routed pages?

I am using prerender-spa-plugin and vue-meta-info to pre-render the page and add meta

now there are two problems:
1.prerender-spa-plugin cannot render dynamic routing
the unconfigured routing page in the 2.webpack configuration item renders the same content as the home page

Mar.10,2021

render the meta header to the dynamic routing page with vue-meta .
pre-rendering refers to pre-rendering html? Take a look at prerender-spa-plugin , which renders the page based on your route using a headless browser and returns..

Prerendering is basically firing up a headless browser, loading your app's routes, and saving the results to a static HTML file.
Menu