frp/web/frpc/src/router/index.ts
2023-02-26 02:54:53 +08:00

22 lines
472 B
TypeScript

import { createRouter, createWebHashHistory } from 'vue-router'
import Overview from '../components/Overview.vue'
import ClientConfigure from '../components/ClientConfigure.vue'
const router = createRouter({
history: createWebHashHistory(),
routes: [
{
path: '/',
name: 'Overview',
component: Overview,
},
{
path: '/configure',
name: 'ClientConfigure',
component: ClientConfigure,
},
],
})
export default router