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/src/router | |
parent | f7334552e839ef3d0b31a02cda1bd55a156de53c (diff) |
FIx routing for home
Diffstat (limited to 'app/src/router')
-rw-r--r-- | app/src/router/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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", }, |