aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/plugins
diff options
context:
space:
mode:
authorZero~Informatique2020-01-31 07:10:34 +0100
committerZero~Informatique2020-01-31 07:10:34 +0100
commit1e0b65a0a4556810ad4a7acac764a57a7daf8cf0 (patch)
tree9468bedb7b07166505e0a82eadd68d67c1bb0262 /viewer/src/plugins
parent914aa63cb65f869be9b1707c160847be16f79a68 (diff)
downloadldgallery-1e0b65a0a4556810ad4a7acac764a57a7daf8cf0.tar.gz
viewer: minor code cleaning
Diffstat (limited to 'viewer/src/plugins')
-rw-r--r--viewer/src/plugins/router.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/viewer/src/plugins/router.ts b/viewer/src/plugins/router.ts
index 0f3d2c7..8b4a8dc 100644
--- a/viewer/src/plugins/router.ts
+++ b/viewer/src/plugins/router.ts
@@ -19,17 +19,17 @@
19 19
20import Vue from "vue"; 20import Vue from "vue";
21import VueRouter from "vue-router"; 21import VueRouter from "vue-router";
22import Gallery from "@/views/MainGallery.vue"; 22import MainGallery from "@/views/MainGallery.vue";
23 23
24Vue.use(VueRouter); 24Vue.use(VueRouter);
25 25
26// async way : component: () => import(/* webpackChunkName: "Gallery" */ "@/views/Gallery.vue"), 26// async way : component: () => import(/* webpackChunkName: "MainGallery" */ "@/views/MainGallery.vue"),
27 27
28const routes = [ 28const routes = [
29 { 29 {
30 path: "*", 30 path: "*",
31 name: "Gallery", 31 name: "MainGallery",
32 component: Gallery, 32 component: MainGallery,
33 props: true 33 props: true
34 }, 34 },
35]; 35];