lollms-webui/web/src/App.vue

23 lines
844 B
Vue
Raw Normal View History

2023-05-02 22:53:27 +02:00
<template>
2023-09-04 02:05:46 +02:00
<div class="flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary">
2023-05-02 22:53:27 +02:00
<TopBar />
2023-09-04 02:05:46 +02:00
<div class="flex overflow-hidden flex-grow ">
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>