frp/web/frpc/src/router/index.ts

22 lines
472 B
TypeScript
Raw Normal View History

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'
const router = createRouter({
history: createWebHashHistory(),
routes: [
{
2023-02-26 02:54:53 +08:00
path: '/',
name: 'Overview',
component: Overview,
},
{
2023-02-26 02:54:53 +08:00
path: '/configure',
name: 'ClientConfigure',
component: ClientConfigure,
},
],
2023-02-26 02:54:53 +08:00
})
2023-02-26 02:54:53 +08:00
export default router