aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/router/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/router/index.ts')
-rw-r--r--viewer/src/router/index.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/viewer/src/router/index.ts b/viewer/src/router/index.ts
new file mode 100644
index 0000000..03ae1cd
--- /dev/null
+++ b/viewer/src/router/index.ts
@@ -0,0 +1,18 @@
1import Vue from "vue";
2import VueRouter from "vue-router";
3
4Vue.use(VueRouter);
5
6const routes = [
7 {
8 path: "/",
9 name: "root",
10 component: () => import(/* webpackChunkName: "root" */ "@/views/Root.vue"),
11 },
12];
13
14const router = new VueRouter({
15 routes,
16});
17
18export default router;