diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-11-12 15:04:53 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-11-12 15:04:53 +0100 |
commit | e4e6653f754b6d2857bcf03a89d26c3e24083271 (patch) | |
tree | 85032e6d47a3a457dabc6c6afa283ab0ad83c7c3 /app | |
parent | f7334552e839ef3d0b31a02cda1bd55a156de53c (diff) |
FIx routing for home
Diffstat (limited to 'app')
-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", }, |