-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrouter.ts
89 lines (85 loc) · 2.12 KB
/
router.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import { RouteRecordRaw, createRouter, createWebHashHistory } from 'vue-router';
// eslint-disable-next-line
const anotherRoutes: RouteRecordRaw[] = [
{
path: '/community/blog',
name: 'blog',
component: () =>
import(/* webpackChunkName: "blog" */ './views/BlogPage.vue'),
},
{
path: '/donate',
name: 'donate',
component: () =>
import(/* webpackChunkName: "donate" */ './views/DonatePage.vue'),
},
{
path: '/experience',
name: 'experience',
component: () =>
import(/* webpackChunkName: "experience" */ './views/ExperiencePage.vue'),
},
{
path: '/projects',
name: 'projects',
component: () =>
import(/* webpackChunkName: "projects" */ './views/ProjectsPage.vue'),
},
{
path: '/portofolio',
name: 'portofolio',
component: () =>
import(/* webpackChunkName: "portofolio" */ './views/PortofolioPage.vue'),
},
{
path: '/favorite-audio',
name: 'favorite-audio',
component: () =>
import(
/* webpackChunkName: "favorite-audio" */ './views/FavoriteAudio.vue'
),
},
{
path: '/about',
name: 'about',
component: () =>
import(/* webpackChunkName: "about" */ './views/AboutPage.vue'),
},
{
path: '/community/speaking',
name: 'speaking',
component: () =>
import(/* webpackChunkName: "speakers" */ './views/SpeakingHistoryPage.vue'),
},
{
path: '/community',
name: 'community',
component: () =>
import(/* webpackChunkName: "community" */ './views/CommunityPage.vue'),
},
];
const homeRoute: RouteRecordRaw[] = [
{
path: '/',
name: 'home',
component: () =>
import(/* webpackChunkName: "home" */ './views/HomePage.vue'),
},
{
path: '/certification',
name: 'certification',
component: () =>
import(/* webpackChunkName: "certification" */ './views/CertificationPage.vue'),
},
{
path: '/songs',
name: 'songs',
component: () =>
import(/* webpackChunkName: "songs" */ './views/SongsPage.vue'),
},
]
const allRoute = homeRoute;
export default createRouter({
history: createWebHashHistory(),
routes: allRoute,
});