diff options
-rw-r--r-- | app/src/components/Footer.vue | 2 | ||||
-rw-r--r-- | app/src/router/index.ts | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/src/components/Footer.vue b/app/src/components/Footer.vue index 9ca60cb..382884d 100644 --- a/app/src/components/Footer.vue +++ b/app/src/components/Footer.vue @@ -2,7 +2,7 @@ <ion-tabs> <ion-router-outlet></ion-router-outlet> <ion-tab-bar slot="bottom"> - <ion-tab-button tab="home" href="/"> + <ion-tab-button tab="home" href="/home"> <div class="t"> <svg xmlns="http://www.w3.org/2000/svg" diff --git a/app/src/router/index.ts b/app/src/router/index.ts index 86cf89f..8c87048 100644 --- a/app/src/router/index.ts +++ b/app/src/router/index.ts @@ -3,8 +3,9 @@ import { RouteRecordRaw } from "vue-router"; import HomePage from "../views/HomePage.vue"; const routes: Array<RouteRecordRaw> = [ + { path: "/", redirect: "/home" }, { - path: "/", + path: "/home", component: HomePage, name: "HomePage", }, |