cf7c29639c
Backend: config/db/security/logging core, SQLAlchemy models (Server, Credential, UpdateJob, UpdateLog, AuditLog, User), services (winrm, ssh, cau, audit, job_runner), REST API (auth, servers, updates, audit), Socket.io WebSocket layer. Frontend: Vue 3 + TS + Pinia + Tailwind, Views (Dashboard, Servers, Updates, Audit, Login), axios + socket.io-client, nginx prod config.
16 lines
349 B
Vue
16 lines
349 B
Vue
<script setup lang="ts">
|
|
import { computed } from 'vue'
|
|
import { useRoute } from 'vue-router'
|
|
import AppLayout from '@/components/AppLayout.vue'
|
|
|
|
const route = useRoute()
|
|
const isLogin = computed(() => route.name === 'login')
|
|
</script>
|
|
|
|
<template>
|
|
<router-view v-if="isLogin" />
|
|
<AppLayout v-else>
|
|
<router-view />
|
|
</AppLayout>
|
|
</template>
|