I placed a route rule for notFound, but it cannot jump to the whole page. What can i do?
Code: Select all
{
// will match everything and put it under `$route.params.pathMatch`
path: '/:pathMatch(.*)*',
name: 'notfound',
component: () => import('./pages/NotFound.vue')
},