safetwitch/src/App.vue

20 lines
504 B
Vue
Raw Normal View History

2023-03-07 01:19:05 -05:00
<script setup lang="ts">
import { RouterView } from 'vue-router'
2023-03-18 13:49:02 -04:00
import NavbarItem from './components/NavbarView.vue'
2023-07-18 20:26:32 -04:00
import FooterItem from './components/FooterView.vue'
2023-06-13 14:51:35 -04:00
import DevWarning from './components/DevWarning.vue'
const dev = import.meta.env.DEV
2023-03-07 01:19:05 -05:00
</script>
2023-07-18 20:26:32 -04:00
<template class="bg-ctp-base h-full flex flex-row">
2023-06-13 14:51:35 -04:00
<dev-warning v-if="dev"></dev-warning>
2023-03-07 01:19:05 -05:00
<navbar-item></navbar-item>
2023-03-18 13:49:02 -04:00
2023-03-07 01:19:05 -05:00
<Suspense>
<RouterView :key="$route.fullPath" />
2023-03-07 01:19:05 -05:00
</Suspense>
2023-07-18 20:26:32 -04:00
<footer-item></footer-item>
2023-03-18 13:49:02 -04:00
</template>