summaryrefslogtreecommitdiff
path: root/app/src/router/index.ts
blob: 86cf89f8fdbcb66fa79b452cbc6295f53601949e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { createRouter, createWebHistory } from "@ionic/vue-router";
import { RouteRecordRaw } from "vue-router";
import HomePage from "../views/HomePage.vue";

const routes: Array<RouteRecordRaw> = [
    {
        path: "/",
        component: HomePage,
        name: "HomePage",
    },
];

const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes,
});

export default router;