mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
22 lines
477 B
TypeScript
22 lines
477 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;
|