summaryrefslogtreecommitdiff
path: root/app/src/router
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/router')
-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({