Skip to content

Commit ef14018

Browse files
authored
Merge pull request #96 from dsgler/feat/404
fix: not found page
2 parents b9e8675 + 78b377b commit ef14018

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/router/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { createRouter, createWebHistory } from 'vue-router';
2+
import NotFound from '@/views/notFound/index.vue';
23
import { NO_PERMISSION } from './routes/base';
34
// import DETAIL from './routes/candidate';
45
import { appRoutes } from './routes';
@@ -16,7 +17,7 @@ const router = createRouter({
1617
NO_PERMISSION,
1718
{
1819
path: '/:pathMatch(.*)',
19-
component: import('@/views/notFound/index.vue'),
20+
component: NotFound,
2021
},
2122
],
2223
scrollBehavior(_to, _from, savedPosition) {

0 commit comments

Comments
 (0)