-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
34 lines (30 loc) · 759 Bytes
/
index.js
File metadata and controls
34 lines (30 loc) · 759 Bytes
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
import { createRouter, createWebHistory } from 'vue-router'
import AccessTokenList from "../views/AccessTokenList.vue";
import AccountSetting from "../views/AccountSetting.vue";
import Organizations from "../views/Organizations.vue";
const routes = [
{
path: '/',
redirect: '/access-tokens',
},
{
path: '/access-tokens',
name: 'AccessTokenList',
component: AccessTokenList
},
{
path: '/account-setting',
name: 'AccountSetting',
component: AccountSetting
},
{
path: '/organizations',
name: 'Organizations',
component: Organizations
},
]
const router = createRouter({
history: createWebHistory(),
routes
})
export default router