Mercurial > gemma
changeset 592:8e67604d972a
moved main.vue to application
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 07 Sep 2018 12:30:20 +0200 |
parents | d013fa5554cc |
children | c4a4dc612191 |
files | client/src/application/Main.vue client/src/map/Mapview.vue client/src/router.js |
diffstat | 3 files changed, 25 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/application/Main.vue Fri Sep 07 12:30:20 2018 +0200 @@ -0,0 +1,24 @@ +<template> + <div class="main d-flex flex-column"> + <Maplayer :lat="6155376" :long="1819178" :zoom="11"></Maplayer> + </div> +</template> + +<style lang="scss"> +@import "../application/assets/application.scss"; + +.menubutton { + margin-left: $small-offset; +} +</style> + +<script> +import Maplayer from "../map/Maplayer"; + +export default { + name: "mainview", + components: { + Maplayer + } +}; +</script>
--- a/client/src/map/Mapview.vue Fri Sep 07 12:19:45 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -<template> - <div class="main d-flex flex-column"> - <Maplayer :lat="6155376" :long="1819178" :zoom="11"></Maplayer> - </div> -</template> - -<style lang="scss"> -@import "../application/assets/application.scss"; - -.menubutton { - margin-left: $small-offset; -} -</style> - -<script> -import Maplayer from "./Maplayer"; - -export default { - name: "mainview", - components: { - Maplayer - } -}; -</script>
--- a/client/src/router.js Fri Sep 07 12:19:45 2018 +0200 +++ b/client/src/router.js Fri Sep 07 12:30:20 2018 +0200 @@ -8,7 +8,7 @@ /* facilitate codesplitting */ const Login = () => import("./login/Login.vue"); -const Main = () => import("./map/Mapview.vue"); +const Main = () => import("./application/Main.vue"); const Usermanagement = () => import("./usermanagement/Usermanagement.vue"); Vue.use(Router);