/
githubmirror
/
ChatDev
Обзор
Документация
Войти
/
githubmirror
/
ChatDev
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v2.0.0
frontend/src/App.vue
37 строк
653 B
NA-Wen
initial commit of chatdev 2.0
07 янв 2026, 11:24
07 янв 2026, 11:24
f0db945
Код
Авторство
О чём код?
<script setup> import { computed } from 'vue' import { useRoute } from 'vue-router' import Sidebar from './components/Sidebar.vue' const route = useRoute() // Hide the sidebar on LaunchView const showSidebar = computed(() => route.path !== '/launch') </script> <template> <div class="app-container"> <Sidebar v-if="showSidebar" /> <main class="main-content"> <router-view /> </main> </div> </template> <style scoped> .app-container { display: flex; flex-direction: column; min-height: 100vh; } .main-content { flex: 1; background-color: white; } body { margin: 0; font-family: system-ui, sans-serif; } </style>