summaryrefslogtreecommitdiff
path: root/app/src/router/index.ts
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-11-14 08:50:38 +0100
committerSanto Cariotti <santo@dcariotti.me>2022-11-14 08:50:38 +0100
commit8731f47b99af3e6890eaab68400464bebd03db03 (patch)
tree57cf7f3b80ea999e3551cafcc049ec827f5c8481 /app/src/router/index.ts
parent5e89ad0836ca38b132d1748603be7d8593b9bcb2 (diff)
User info page
Diffstat (limited to 'app/src/router/index.ts')
-rw-r--r--app/src/router/index.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/router/index.ts b/app/src/router/index.ts
index a3dd783..3aebf85 100644
--- a/app/src/router/index.ts
+++ b/app/src/router/index.ts
@@ -2,6 +2,7 @@ import { createRouter, createWebHistory } from "@ionic/vue-router";
import { RouteRecordRaw } from "vue-router";
import HomePage from "../views/HomePage.vue";
import Sign from "../views/Sign.vue";
+import UserInfo from "../views/UserInfo.vue";
const routes: Array<RouteRecordRaw> = [
{ path: "/", redirect: "/home" },
@@ -15,6 +16,11 @@ const routes: Array<RouteRecordRaw> = [
component: Sign,
name: "Sign",
},
+ {
+ path: "/me",
+ component: UserInfo,
+ name: "UserInfo",
+ },
];
const router = createRouter({