From 1e0b65a0a4556810ad4a7acac764a57a7daf8cf0 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 31 Jan 2020 07:10:34 +0100 Subject: viewer: minor code cleaning --- viewer/src/plugins/router.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'viewer/src/plugins') 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 @@ import Vue from "vue"; import VueRouter from "vue-router"; -import Gallery from "@/views/MainGallery.vue"; +import MainGallery from "@/views/MainGallery.vue"; Vue.use(VueRouter); -// async way : component: () => import(/* webpackChunkName: "Gallery" */ "@/views/Gallery.vue"), +// async way : component: () => import(/* webpackChunkName: "MainGallery" */ "@/views/MainGallery.vue"), const routes = [ { path: "*", - name: "Gallery", - component: Gallery, + name: "MainGallery", + component: MainGallery, props: true }, ]; -- cgit v1.2.3