Создание VUE шаблона
This commit is contained in:
31
front_vue/src/Design/views/DashboardView.vue
Normal file
31
front_vue/src/Design/views/DashboardView.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<script setup>
|
||||
const servicesStore = useServicesStore()
|
||||
const sitesStore = useSitesStore()
|
||||
const proxiesStore = useProxiesStore()
|
||||
const certsStore = useCertsStore()
|
||||
|
||||
onMounted(async () => {
|
||||
await Promise.all([
|
||||
servicesStore.load(),
|
||||
sitesStore.load(),
|
||||
proxiesStore.load(),
|
||||
certsStore.loadAll(),
|
||||
])
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="dashboard-view">
|
||||
<ServicesGrid />
|
||||
<SitesTable />
|
||||
<ProxiesTable />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.dashboard-view {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-xl);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user