We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9e8675 + 78b377b commit ef14018Copy full SHA for ef14018
src/router/index.ts
@@ -1,4 +1,5 @@
1
import { createRouter, createWebHistory } from 'vue-router';
2
+import NotFound from '@/views/notFound/index.vue';
3
import { NO_PERMISSION } from './routes/base';
4
// import DETAIL from './routes/candidate';
5
import { appRoutes } from './routes';
@@ -16,7 +17,7 @@ const router = createRouter({
16
17
NO_PERMISSION,
18
{
19
path: '/:pathMatch(.*)',
- component: import('@/views/notFound/index.vue'),
20
+ component: NotFound,
21
},
22
],
23
scrollBehavior(_to, _from, savedPosition) {
0 commit comments