Skip to content

Commit bad7d9d

Browse files
committed
fix routing issues by adding routes for start page (/0) and finish page(/3)
1 parent 9471a5b commit bad7d9d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/router/routes.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ const routes: RouteRecordRaw[] = [
66
component: () => import('src/layouts/MainLayout.vue'),
77
children: [{ path: '', component: () => import('src/pages/Start.vue') }]
88
},
9+
{
10+
path: '/0',
11+
component: () => import('src/layouts/MainLayout.vue'),
12+
children: [{ path: '', component: () => import('src/pages/Start.vue') }]
13+
},
914
{
1015
path: '/1',
1116
component: () => import('src/layouts/StepperLayout.vue'),
@@ -16,6 +21,11 @@ const routes: RouteRecordRaw[] = [
1621
component: () => import('src/layouts/StepperLayout.vue'),
1722
children: [{ path: '', component: () => import('src/pages/Authors.vue') }]
1823
},
24+
{
25+
path: '/3',
26+
component: () => import('src/layouts/MainLayout.vue'),
27+
children: [{ path: '', component: () => import('src/pages/Finish.vue') }]
28+
},
1929
{
2030
path: '/finish',
2131
component: () => import('src/layouts/MainLayout.vue'),

0 commit comments

Comments
 (0)