mirror of
https://github.com/fatedier/frp.git
synced 2026-04-28 20:19:10 +08:00
21 lines
461 B
TypeScript
21 lines
461 B
TypeScript
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
import Overview from '../views/Overview.vue'
|
|
import ClientConfigure from '../views/ClientConfigure.vue'
|
|
|
|
const router = createRouter({
|
|
history: createWebHashHistory(),
|
|
routes: [
|
|
{
|
|
path: '/',
|
|
name: 'Overview',
|
|
component: Overview,
|
|
},
|
|
{
|
|
path: '/configure',
|
|
name: 'ClientConfigure',
|
|
component: ClientConfigure,
|
|
},
|
|
],
|
|
})
|
|
|
|
export default router |