diff options
author | Notkea | 2020-01-31 18:09:33 +0100 |
---|---|---|
committer | GitHub | 2020-01-31 18:09:33 +0100 |
commit | 245fee3fe5abdc6ad14513ef6522446aba4c905a (patch) | |
tree | 749ec466c404499f19d571834262b87c14f0d0af /viewer/src/plugins/router.ts | |
parent | d94b987463169b254ab69a79ddb58e5beccb0941 (diff) | |
parent | be8ec3edaed843f08dac3d2bf2f10f7247ef3d3a (diff) | |
download | ldgallery-245fee3fe5abdc6ad14513ef6522446aba4c905a.tar.gz |
Merge pull request #68 from pacien/oz-viewer
Diffstat (limited to 'viewer/src/plugins/router.ts')
-rw-r--r-- | viewer/src/plugins/router.ts | 8 |
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 | ||
20 | import Vue from "vue"; | 20 | import Vue from "vue"; |
21 | import VueRouter from "vue-router"; | 21 | import VueRouter from "vue-router"; |
22 | import Gallery from "@/views/MainGallery.vue"; | 22 | import MainGallery from "@/views/MainGallery.vue"; |
23 | 23 | ||
24 | Vue.use(VueRouter); | 24 | Vue.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 | ||
28 | const routes = [ | 28 | const 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 | ]; |