Why is the html of vue pre-rendering unconfigured routing rendering on the front page?

use prerender-spa-plugin to configure the vue project pre-render webpack as follows

clipboard.png

there are some dynamic route matching components in the project that cannot be pre-rendered here and there are no matching routes in webpack, but in fact, when you look at the source code on these pages, you can see the rendered static html, but these contents are all from the front page. Why is this happening? How to solve the problem?

Mar.09,2021

Hello, have you solved it?

Menu