configure tanstack query

This commit is contained in:
Niclas Jost
2024-03-29 12:20:05 +01:00
parent fd0c98689d
commit bb7e1c1c4f
4 changed files with 40 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import { RouteRecordName, RouterView } from "vue-router";
import CalendarPreview from "./components/CalendarPreview.vue";
import moduleStore from "./store/moduleStore.ts";
import { provide, ref } from "vue";
import { VueQueryDevtools } from "@tanstack/vue-query-devtools";
const disabledPages = [
"room-finder",
@ -45,6 +46,8 @@ window.addEventListener("resize", updateMobile);
</RouterView>
<!-- show CalendarPreview but only on specific router views -->
<CalendarPreview v-if="isDisabled($route.name)" />
<VueQueryDevtools />
<Toast />
</template>