RT state managment and rectangle support

This commit is contained in:
2026-02-16 16:14:25 +01:00
parent 0f0418dee3
commit d9caeb2209
21 changed files with 459 additions and 5 deletions

View File

@@ -1,11 +1,20 @@
<script setup lang="ts">
import { RouterView } from 'vue-router'
import { RouterView, useRoute } from 'vue-router'
import { computed } from 'vue'
import AppTopBar from './components/AppTopBar.vue'
const route = useRoute()
const hideTopBar = computed(() => route.meta.hideTopBar === true)
</script>
<template>
<AppTopBar />
<main class="container py-4">
<template v-if="hideTopBar">
<RouterView />
</main>
</template>
<template v-else>
<AppTopBar />
<main class="container py-4">
<RouterView />
</main>
</template>
</template>