lollms-webui/web/src/App.vue

23 lines
617 B
Vue
Raw Normal View History

2023-05-02 22:53:27 +02:00
<template>
2024-03-02 00:41:38 +01:00
<div :class="currentTheme" class="flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50 w-full dark:bg-bg-dark overflow-hidden">
2023-05-02 22:53:27 +02:00
<TopBar />
2023-12-17 03:55:34 +01:00
<div class="flex overflow-hidden flex-grow w-full">
2023-05-02 22:53:27 +02:00
<!-- VIEW CONTAINER -->
<RouterView v-slot="{ Component }">
<KeepAlive>
<component :is="Component" />
</KeepAlive>
</RouterView>
</div>
2023-07-09 19:32:25 +02:00
2023-05-02 22:53:27 +02:00
<!-- FOOTER -->
<!-- <Footer /> -->
</div>
</template>
<script setup>
import { RouterView } from 'vue-router'
2023-07-09 19:32:25 +02:00
import TopBar from './components/TopBar.vue'
2023-05-02 22:53:27 +02:00
</script>