summaryrefslogtreecommitdiff
path: root/master/src/router.ts
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-23 15:30:53 +0200
committerHampusM <hampus@hampusmat.com>2022-05-23 15:30:53 +0200
commit804f13402078a025924f5a42c479dd418f985112 (patch)
tree537975a99a83aa97abf34fc11ed27b269750febb /master/src/router.ts
parent71a02201164597481b926a26ab1eaa1ee112f4ec (diff)
feat(master): add display single minion temperature reading
Diffstat (limited to 'master/src/router.ts')
-rw-r--r--master/src/router.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/master/src/router.ts b/master/src/router.ts
new file mode 100644
index 0000000..4c70eab
--- /dev/null
+++ b/master/src/router.ts
@@ -0,0 +1,17 @@
+import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
+import HomeView from "./views/Home.vue";
+
+const routes: Array<RouteRecordRaw> = [
+ {
+ path: "/",
+ name: "home",
+ component: HomeView
+ }
+];
+
+const router = createRouter({
+ history: createWebHashHistory(),
+ routes
+});
+
+export default router;