full screen map page

This commit is contained in:
BuckarooBanzay 2022-03-20 10:19:15 +01:00
parent eaa8cb5fc0
commit 0fb4f8fed6
4 changed files with 27 additions and 10 deletions

View File

@ -0,0 +1,13 @@
html {
height: 100%;
margin: 0;
}
body {
height: 100%;
margin: 0;
}
#app {
height: 100%;
}

View File

@ -1,11 +1,5 @@
export default {
template: /*html*/`
<div>
<div class="container-fluid">
<br>
TODO: content
<router-view></router-view>
</div>
</div>
<router-view></router-view>
`
};

8
public/js/pages/Map.js Normal file
View File

@ -0,0 +1,8 @@
export default {
template: /*html*/`
<div>
Map
</div>
`
};

View File

@ -1,6 +1,8 @@
import Map from "./pages/Map.js";
export default [{
path: "/", component: {
template: "<div>start</div>"
}
path: "/map/:layerId/:zoom/:lon/:lat", component: Map
},{
path: "/", redirect: "/map/0/13/0/0"
}];