summaryrefslogtreecommitdiff
path: root/app/src/router/index.ts
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-11-12 17:14:40 +0100
committerSanto Cariotti <santo@dcariotti.me>2022-11-12 17:14:40 +0100
commit5e89ad0836ca38b132d1748603be7d8593b9bcb2 (patch)
tree25ec2a2f62b95616b5587754f1bded6e34f890ec /app/src/router/index.ts
parente4e6653f754b6d2857bcf03a89d26c3e24083271 (diff)
Add signup 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 8c87048..a3dd783 100644
--- a/app/src/router/index.ts
+++ b/app/src/router/index.ts
@@ -1,6 +1,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";
const routes: Array<RouteRecordRaw> = [
{ path: "/", redirect: "/home" },
@@ -9,6 +10,11 @@ const routes: Array<RouteRecordRaw> = [
component: HomePage,
name: "HomePage",
},
+ {
+ path: "/sign",
+ component: Sign,
+ name: "Sign",
+ },
];
const router = createRouter({