[vue]控制台报错 vuerouter [Vue Router warn]: No match found for location with path
problem
环境: vue3 vite
控制台报错: [Vue Router warn]: No match found for location with path
reason
路由配置缺失
solution
{
path: '/:catchAll(.*)',
component: () => import('@/views/error-page/404.vue'),
meta: { hidden: true },
},