When the vue3 project specifies an unrecognized path to automatically jump to the 404 page when configuring the route, it reports an error Catch all routes ("*") must now be defined using a param with a custom regexp. It means that all routes ("") must now be
captured Use parameters with custom regular expressions to define
solution
Change to the following configuration: