-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathroutes.ts
107 lines (103 loc) · 2.02 KB
/
routes.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
const AUTH = {
SIGNIN: {
href: '/auth/signIn.vue',
route: '/sign-in',
url: '/sign-in'
},
SIGNUP: {
href: '/auth/signUp.vue',
route: '/sign-up',
url: '/sign-up'
},
FORGOTPASSWORD: {
href: '/auth/forgotPassword.vue',
route: '/forgot-password',
url: '/forgot-password'
}
}
const DASHBOARD = {
HOME: {
href: '/index.vue',
route: '/',
url: '/'
},
FORM: {
href: '/forms.vue',
route: '/forms',
url: '/forms'
},
TYPOGRAPHY: {
href: '/typography.vue',
route: '/typography',
url: '/typography'
},
TABLE: {
href: '/tables.vue',
route: '/tables',
url: '/tables'
},
TABS: {
href: '/tabs.vue',
route: '/tabs',
url: '/tabs'
},
FILTERS: {
href: '/filters.vue',
route: '/filters',
url: '/filters'
},
CHART: {
href: '/charts.vue',
route: '/charts',
url: '/charts'
},
PROFILE: {
href: '/profile.vue',
route: '/profile',
url: '/profile'
},
SETTING: {
href: '/settings.vue',
route: '/user-settings',
url: '/setting'
},
CARD: { href: '/cards.vue', route: '/cards', url: '/cards' },
ICON: { href: '/icons.vue', route: '/icons', url: '/icons' },
LANDING: { href: '/landing.vue', route: '/landing', url: '/landing' },
PARAGRAPH: { href: '/paragraph.vue', route: '/paragraph', url: '/paragraph' },
HEADING: { href: '/headings.vue', route: '/headings', url: '/headings' }
}
// const API = {
// API_SALES: {
// url: '/data-sales'
// // route: ''
// },
// API_REVENUE: {
// url: '/data-revenue'
// // route: ''
// },
// API_CUSTOMER: {
// url: '/data-customer'
// // route: ''
// },
// API_PRODUCT: {
// url: '/data-product'
// // route: ''
// },
// API_CHANNEL: {
// url: '/data-channel'
// // route: ''
// },
// API_TIMELINE: {
// url: '/data-channel'
// // route: ''
// }
// }
const API = {
API: {
href: '/api/v1',
route: '/api/v1',
url: '/api/v1'
}
}
module.exports = { ...AUTH, ...DASHBOARD, ...API }