aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/router
diff options
context:
space:
mode:
authorZero~Informatique2019-12-20 17:47:04 +0100
committerZero~Informatique2019-12-20 23:22:56 +0100
commit7ae68f079ddfb74c9a1b17c4f30dfe4c258d4a9f (patch)
treecb5e30534d9e564c311d626bba7e8d9ec0ea0f60 /viewer/src/router
parentc9264b0a0a7e1cb92ef7d9a391cee2c94376cff3 (diff)
downloadldgallery-7ae68f079ddfb74c9a1b17c4f30dfe4c258d4a9f.tar.gz
Viewer project foundations
Diffstat (limited to 'viewer/src/router')
-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;