2023-02-26 02:54:53 +08:00
|
|
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
|
|
import Overview from '../components/Overview.vue'
|
|
|
|
import ClientConfigure from '../components/ClientConfigure.vue'
|
2023-02-20 23:52:55 +08:00
|
|
|
|
|
|
|
const router = createRouter({
|
|
|
|
history: createWebHashHistory(),
|
|
|
|
routes: [
|
|
|
|
{
|
2023-02-26 02:54:53 +08:00
|
|
|
path: '/',
|
|
|
|
name: 'Overview',
|
2023-02-20 23:52:55 +08:00
|
|
|
component: Overview,
|
|
|
|
},
|
|
|
|
{
|
2023-02-26 02:54:53 +08:00
|
|
|
path: '/configure',
|
|
|
|
name: 'ClientConfigure',
|
2023-02-20 23:52:55 +08:00
|
|
|
component: ClientConfigure,
|
|
|
|
},
|
|
|
|
],
|
2023-02-26 02:54:53 +08:00
|
|
|
})
|
2023-02-20 23:52:55 +08:00
|
|
|
|
2023-02-26 02:54:53 +08:00
|
|
|
export default router
|