feat: add no match route (#3659)

This commit is contained in:
Garfield Lee 2023-08-10 21:43:51 +08:00 committed by GitHub
parent 7c4b8866d3
commit 358c3a5bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,10 @@ export const router = createBrowserRouter(
path: '/404',
lazy: () => import('./pages/404'),
},
{
path: '*',
lazy: () => import('./pages/404'),
},
],
{
future: {