Upgrade maplibre and fix goToPost

This commit is contained in:
2024-02-10 23:12:57 +01:00
parent cab899e544
commit 869b084d70
15 changed files with 604 additions and 499 deletions

View File

@@ -10,13 +10,12 @@ const aoRoutes = {
export default {
data() {
return {
//spot: window.oSpot,
hash: {}
};
},
inject: ['spot'],
computed: {
currentView() {
page() {
this.spot.vars('page', this.hash.page);
return aoRoutes[this.hash.page];
}
@@ -62,7 +61,7 @@ export default {
</script>
<template>
<div id="main">
<component :is="currentView" />
<component :is="page" />
</div>
<div id="mobile"></div>
</template>