From 4d2a1e5adfc8688bc585c96e959470d45f655438 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 30 May 2022 14:43:59 +0200 Subject: chore(master): add client folder --- master/client/src/router.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 master/client/src/router.ts (limited to 'master/client/src/router.ts') diff --git a/master/client/src/router.ts b/master/client/src/router.ts new file mode 100644 index 0000000..4c70eab --- /dev/null +++ b/master/client/src/router.ts @@ -0,0 +1,17 @@ +import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router"; +import HomeView from "./views/Home.vue"; + +const routes: Array = [ + { + path: "/", + name: "home", + component: HomeView + } +]; + +const router = createRouter({ + history: createWebHashHistory(), + routes +}); + +export default router; -- cgit v1.2.3-18-g5258