Notes
Notes copied to clipboard
vue-route4 设置404路由
const routes = [
{ path: '/:catchAll(.*)*',component: () => import('./views/404.vue') },
]
catchAll叫什么无所谓,叫x叫y都行